Created
April 17, 2019 22:04
-
-
Save adxrgh/b37a625971bdb7350abcf866e848065b to your computer and use it in GitHub Desktop.
[describe dropna itself?] #questions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df = pd.DataFrame([('bird', 'Falconiformes', 389.0), | |
...: ...: ('bird', 'Psittaciformes', 24.0), | |
...: ...: ('mammal', 'Carnivora', 80.2), | |
...: ...: ('mammal', 'Primates', np.nan), | |
...: ...: ('mammal', 'Carnivora', 58)], | |
...: ...: index=['falcon', 'parrot', 'lion', 'monkey', 'leopard'], | |
...: ...: columns=('class', 'order', 'max_speed')) | |
df.groupby('class').groups | |
df.groupby('class').describe() | |
#the output automatically dropna ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment