Answers for "how to get a summary of a column in python"

0

how to get a summary of a column in python

In [47]:

df.describe().transpose()

Out[47]:

                 count      mean       std    min   25%  50%    75%    max
shopper_num         14       7.5    4.1833      1  4.25  7.5  10.75     14
is_martian          14         0         0  False     0    0      0  False
number_of_items     14  3.357143  6.452276      0     0    0    3.5     22
count_pineapples    14         0         0      0     0    0      0      0

[4 rows x 8 columns]
Posted by: Guest on February-05-2021

Code answers related to "how to get a summary of a column in python"

Python Answers by Framework

Browse Popular Code Answers by Language