DEV Community

Cover image for Reading data from csv file
Shivam08-byte
Shivam08-byte

Posted on

Reading data from csv file

How to read data from csv file and its conversion to DATA Frame?

import pandas as pd

csv_file_path = ‘your_data.csv’

df = pd.read_csv(csv_file_path)

print(df)

Top comments (0)