I am having a problem when I pull data from Google sheets into a pandas dataframe. When I call the dataframe I see numbers above the column names.
Here is what I have tried so far:
df = df.rename_axis(None)
df.rename_axis(None, axis = 1)
df = df.reset_index(drop=True)
del df.index.name
df = df.iloc[1: , :]
None of these removed those numbers above the columns. Does anyone have any other suggestions for removing?
When I input print(df.columns)
the result is:
RangeIndex(start=0, stop=10, step=1)
When I print(df.iloc[0, :])
the result is:
0 Day
1 Currency
2 Spend
3 Total Order Value
4 CVR (Click through)
5 Clicks
6 Impressions
7 CTR
8 CPC
9 Conversions (Click through)
Name: 0, dtype: object