0

i have a csv file in my local and i am reading that csv in using pd.read_csv()

Csv kinda looks like this say name df.csv

 # a     b       c
--------------------
"SS" |  1   |  Null
"GG" |  1   |  "lk"
"HH" |  2   |  "kk"

But when i am read this file in python

df1 = pd.read_csv(r"path/df.csv")
print(df1.columns)

out_put:

Index([u'# a', u' b', u' c', ],dtype='object')
Burhan Ali
  • 2,258
  • 1
  • 28
  • 38
Amit
  • 763
  • 1
  • 5
  • 14

0 Answers0