pandas read csv
Python hosting: Host, run, and code Python in the cloud!
Pandas is a data analaysis module. It provides you with high-performance, easy-to-use data structures and data analysis tools.
In this article you will learn how to read a csv file with Pandas.
Related course
Data Analysis with Python Pandas
Read CSV with Python Pandas
We create a comma seperated value (csv) file:
|
Imported in excel that will look like this:

The data can be read using:
|
The first lines import the Pandas module. The read_csv method loads the data in a a Pandas dataframe that we named df.
Dataframes
A dataframe can be manipulated using methods, the minimum and maximum can easily be extracted:
|

The dataset in this example is very small, but a dataset can easily contain thousands or millions of records.
Posted in pandas
Leave a Reply: