1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00

GITBOOK-136: change request with no subject merged in GitBook

This commit is contained in:
Veronica Manuel 2023-05-17 14:37:46 +00:00 committed by gitbook-bot
parent d55f910f2d
commit 8948aac8a0
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -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