Created
March 6, 2021 13:50
-
-
Save thepycoach/ca43d79b62e44e07c0eba854a7df94b3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #drop row | |
| no_director = df_netflix_2019[df_netflix_2019['director'].isnull()].index | |
| df_netflix_2019.drop(no_director, axis=0) | |
| #~ + .isnull() | |
| df_netflix_2019[~df_netflix_2019['director'].isnull()] | |
| #dropna() | |
| df_netflix_2019.dropna(subset=['director']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment