Last active
June 7, 2017 04:27
-
-
Save tijptjik/5aa85d663b58870005ddd4d50862bb25 to your computer and use it in GitHub Desktop.
checkgender.py
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
import pandas as pd | |
df = pd.DataFrame(['M','F','U','different',2023], columns=['gender']) | |
df[df.gender.isin(['M','F','U']) == False] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment