December 2018
Beginner to intermediate
682 pages
18h 1m
English
CSV (Comma-Separated Values) is one of the oldest file formats, which was introduced long before the internet even existed. However, it is now becoming deprecated as other advanced formats, such as JSON and XML, are gaining popularity. As the name suggests, data values are separated by commas. The preinstalled csv package and the pandas package contain classes to read and write data in CSV format. This CSV example defines a population table with two countries:
Country,Time,Sex,Age,ValueUnited Kingdom,1950,Male,0-4,2238.735United States of America,1950,Male,0-4,8812.309