From 04ca0abf88117a24c13df579cf96210ac6419fe1 Mon Sep 17 00:00:00 2001 From: Veronica Manuel Date: Wed, 17 May 2023 15:05:56 +0000 Subject: [PATCH] GITBOOK-145: change request with no subject merged in GitBook --- how-tos/compute-to-data/make-a-boss-c2d-algorithm.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/how-tos/compute-to-data/make-a-boss-c2d-algorithm.md b/how-tos/compute-to-data/make-a-boss-c2d-algorithm.md index ed0a6fd2..0b84658e 100644 --- a/how-tos/compute-to-data/make-a-boss-c2d-algorithm.md +++ b/how-tos/compute-to-data/make-a-boss-c2d-algorithm.md @@ -8,9 +8,9 @@ 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: +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 your dataset file on the Docker container: -### Python +### Python - Open the local dataset file ``` import csv @@ -47,7 +47,7 @@ with open(input_filename, 'r') as file: ``` -Note: Here are the following Python libraries that you can use in your code: +**Note:** Here are the following Python libraries that you can use in your code: ``` // Python modules @@ -63,7 +63,7 @@ wheel matplotlib ``` -### Javascript +### Javascript - Open the local dataset file ``` const fs = require("fs");