0

How to define a column from a csv file as a Letter. For example, I want to name the second and the third column, respectively, as X and Y.

I have an CSV file where the values are separated by ";". The columns have 68 rows and the first row/header is the name of the column. I would like to name the second and the third column, respectively, as X and Y. Using pandas i've tried

import pandas as pd
dataset = pd.read_csv(r'C:\Users\t1079577\Desktop\DATABASE.csv', sep=";")
x='com_proc'
y='result_op'

It doesent read the entire column.

viniwata1
  • 31
  • 4

0 Answers0