oldoc63 / learningDS

Learning DS with Codecademy and Books
0 stars 0 forks source link

What Is a CSV File? #359

Open oldoc63 opened 2 years ago

oldoc63 commented 2 years ago

Text files aren't the only thing that Python can read, but that the only thing that we don't need any additional parsing library to understand. CSV files are an example of a text file that impose a structure to their data. CSV stands for comma-separated-values and CSV files are usually the way that data from spreadsheet software (like Microsoft Excel or Google Sheets) is exported into a portable format.

oldoc63 commented 2 years ago

Notice that the first row of the CSV file doesn't actually represent any data, just the labels of the data that's present in the rest of the file. The rest of the rows of the file are the same as the rows in the spreadsheet software, just instead of being separated into different cells they're separated by commas.