How to remove or drop index from Dataframe in python pandas

How to remove or drop index from Dataframe in python pandas

How to remove or drop index from Dataframe in python pandas

 

The code will perform the task listed below

(1)import pandas library

(2)import  csv file

(3)display the first 5 Data

(4) Hide the Default Index from 0,1,2,3……….

(5) Create a New Dataframe  with the same data source under amazon_2

(6) assign 0 to index_col

 

Leave a Reply

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

three × one =