1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

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

This commit is contained in:
Veronica Manuel 2023-05-17 15:01:54 +00:00 committed by gitbook-bot
parent ee3409880f
commit 7a6ef20051
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF

View File

@ -8,7 +8,7 @@ description: >-
{% 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 container. Here is the code in both Python and Javascript for how to correctly reference the dataset file that's local on the Docker container for your compute job:
The beginning of any great algorithm for Compute-to-Data first starts by referencing the dataset file correctly on the Docker container. Here is the code in both Python and Javascript for how to correctly reference the dataset file that's local on the Docker container:
### Python
@ -47,6 +47,22 @@ with open(input_filename, 'r') as file:
<YOUR CODE GOES HERE>
```
Note: Here are the following Python libraries that you can use in your code:
```
// Python modules
numpy==1.16.3
pandas==0.24.2
python-dateutil==2.8.0
pytz==2019.1
six==1.12.0
sklearn
xlrd == 1.2.0
openpyxl >= 3.0.3
wheel
matplotlib
```
### Javascript
```