Last active
January 13, 2021 07:10
-
-
Save justinhchae/19d333984119e892dc29c17ff62baad0 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
| import pandas as pd | |
| gitcsv = 'https://raw.githubusercontent.com/justinhchae/medium/main/bools.csv' | |
| df = pd.read_csv(gitcsv) | |
| print(df.head() | |
| """ | |
| results of printing dataframe head | |
| category flag1 flag2 flag3 | |
| 0 d False NaN NaN | |
| 1 d True NaN NaN | |
| 2 c False NaN NaN | |
| 3 b False NaN NaN | |
| 4 b False NaN NaN | |
| Unique types of data in each column | |
| ['d' 'c' 'b' 'e' nan 'f' 'a'] | |
| [False True] | |
| [nan True] | |
| [nan 1.] | |
| """ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment