How to read CSV file using Python


 

Today we are going to make a module in python which will read csv file.

Required Modules:

pandas

Installing Module:

pip install pandas

Importing modules:

import pandas as pd

Full Code:

>>> import pandas as pd
>>> df = pd.read_csv('python/test.csv')
>>>df

Post a Comment

0 Comments