I have a list of dataframes, I want to add a new column to each dataframe that is the name of the dataframe.
df_all = [df1,df2,df3] for df in df_all: df["Loc"] = df[df].astype.(str) Boolean array expected for the condition, not object
is this possible to achieve?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.