show the first column pandas code example
Example 1: get only first 10 columns pandas
df.iloc[:, : 50]
Example 2: make first row column names pandas
df.rename(columns=df.iloc[0])
df.iloc[:, : 50]
df.rename(columns=df.iloc[0])