How to store the result of df.count() as a new dataframe in Pandas?

Shaozhong SHI shishaozhong at gmail.com
Tue Oct 26 18:34:26 EDT 2021


Hello,

The result of df.count() appears to be a series object.  How to store the
result of df.count() as a new dataframe in Pandas?

That is data anyhow.

Regards,

David


More information about the Python-list mailing list