python - cannot reindex from duplicate axis -


when running following code on dataframe

df[mynms].isnull().sum() / df.shape[0] df[mynms].columns.to_series().groupby(df.dtypes).groups 

it throws valueerror: cannot reindex duplicate axis.

can resolve this?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -