I have a dataframe without headers. I want to read first line from dataframe then iterate all columns values to show user and suggest to set column name by value:
How to do that?
A B C
1 2 3
4 5 6
7 8 9
User must see:
1 ask to enter column name
2 ask to enter column name
3 ask to enter column name
Done.
I tried this:
for colindex in range(len(df.columns)):
colvalue = df[colindex].values[0]
