storeon a computer.
Your entire computer hard drive is comprised of files, is the most low-level way to store information, your computer runs on a
file system or
file directory control that how data is stored and retrieved.
Using a backend language you can access the majority of the computer files, and that gives you almost endless power!
Let's say that you have the bitcoin prices from the last day in a
bitcoin_prices.csv file with the following format:
<before-after width="400px" before="https://github.com/breatheco-de/content/blob/master/src/content/lesson/../../assets/images/97f74cd8-acdd-4ce9-aa26-bfd494e9b550bitcoin_price_csv.png?raw=true" after="https://github.com/breatheco-de/content/blob/master/src/content/lesson/../../assets/images/709ff7ce-f7f6-4b16-a172-521fe1787733bitcoing_prices_table.png?raw=true" />
📺 Five minute video explaining what is a CSV file
Basically, every line in the CSV file represents one price, for example:
You can read the file with any backend programing language and interpret it based on the positions of the values:
Let's say you are running a script that has a variable called
todos that contains a todo list:
That variable is being stored in the RAM memory until you decide to save it to a text file or database. The RAM memory is not reliable because your computer could lose power at any moment (turned off).
You can save that variable into a
todos.csv file with the following python code:
The code above will create or update a
todos.csv with content similar to this:
|Yaml or YML||The easiest format to understand, developers love it because it is fast but it's also very similar to a simple text file, it allows comments and uses indentation instead of commas or braces for delimitation|
|XML||Very popular in the 90's and still being used in a lot of legacy software|
Here is a live demonstration loading all three types of files.
The most efficient way to learn: Join a cohort with classmates like yourself, live streamings, coding jam sessions, live mentorships with real experts and keep the motivation.
From zero to getting paid as a developer, learn the skills of the present and future. Boost your professional career and get hired by a tech company.
Start a career in data science and analytics. A hands-on approach with interactive exercises, chat support, and access to mentorships.
Keep your motivation with this 30 day challenge. Join hundreds of other developers coding a little every day.
Start with Python and Data Science, Machine Learning, Deep Learning and maintaining a production environment in A.I.