-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
EnhancementError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.
Description
-
I have searched the [pandas] tag on StackOverflow for similar questions.
-
I have asked my usage related question on StackOverflow.
Question about pandas
I'm trying to optimise my df dtypes to consume less memory.
I noticed differences in the describe() method output on that df.
Why those outputs are different?
Note: If you'd still like to submit a question, please read this guide detailing how to provide the necessary information for us to reproduce your question.
# Your code here, if applicable
df = pd.DataFrame({'a':[11111,22222,3333]})
df['a'].describe()
df['a'].astype('float16').describe()
Metadata
Metadata
Assignees
Labels
EnhancementError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further actionReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.