Feb-22-2018, 02:53 PM
how to copy columns from df to new columns without knowing the columns header name?
eg below is with the known header name
how about without known the header name?
eg below is with the known header name
df["new"]= df["old"]
how about without known the header name?
df["new"] = df[0]
this does not work