Pandas-profiling: Remove "index"

Created on 8 Mar 2018  路  1Comment  路  Source: pandas-profiling/pandas-profiling

I don't recall having this show up in prior releases,, but maybe,, anyhow is there a way to have profile ignore the index? It is confounding the stats.. I tried to figure out how to drop it before feeding to profiling but a df needs an index it seems..so for me it is a meaningless sequence...

Most helpful comment

The index is ignored if it is [0, len(df)].

Your index might differ for a reason, you could reset it by running:
df.reset_index(drop=True, inplace=True)

>All comments

The index is ignored if it is [0, len(df)].

Your index might differ for a reason, you could reset it by running:
df.reset_index(drop=True, inplace=True)

Was this page helpful?
0 / 5 - 0 ratings