Read CSV without the first column in Python
This tutorial includes two methods to read CSV without the first column in Python. Method 1: pd.read_csv(“CSV_file_name”,index_col=0) Method 2: df=pd.read_csv(“CSV_file_name”) del df[df.columns[0]] Example for Method 1 The following is an example showing without and with index_col=0 in read.csv(). The following is the output, which includes both versions of dataframe. In the removed dataframe, we remove … Read more