mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
GITBOOK-136: change request with no subject merged in GitBook
This commit is contained in:
parent
d55f910f2d
commit
8948aac8a0
@ -6,6 +6,8 @@ description: >-
|
||||
|
||||
# Make a Boss C2D Algorithm
|
||||
|
||||
{% embed url="https://media3.giphy.com/media/cub3pntkz8muQ/giphy.gif?cid=ecf05e47o9fdrqco4jqpeyh7899whqgw5tnd43elr023rykr&ep=v1_gifs_search&rid=giphy.gif" %}
|
||||
|
||||
The beginning of any great algorithm for Compute-to-Data first starts by referencing the dataset file correctly on the Docker image. Here is the code in Javascript and in Python for how to correctly reference the dataset file that's local on the Docker container that you choose:
|
||||
|
||||
### Python
|
||||
@ -41,6 +43,8 @@ if not input_filename:
|
||||
with open(input_filename, 'r') as file:
|
||||
# Read the CSV file
|
||||
csv_reader = csv.DictReader(file)
|
||||
|
||||
<The rest of your code goes here>
|
||||
```
|
||||
|
||||
### Javascript
|
||||
|
Loading…
Reference in New Issue
Block a user