The code will perform the task listed below (1) Create 3 List ( name, dr,cpc) (2) Create a new Dictionary (3) Assign the List to the Dictionary (4) Convert Dictionary into Panda Dataframe (5) Create Row Label List (6) Replace  default Index with newly created row Label list (7) Print DataFrame to Check [iframe src="https://www.creatifwerks.com/Untitled16.html"]

How to Import a CSV File into Python using Pandas

How to Import a CSV File into Python using Pandas

 

The code will perform the task listed below

(1)import pandas library

(2)import  csv file

(3)display the first 5 Data

Leave a Reply

Your email address will not be published. Required fields are marked *

twelve − six =