Created
October 31, 2020 23:59
-
-
Save erraticgenerator/a4b855ad83bc907097af5b10cf1fdc97 to your computer and use it in GitHub Desktop.
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
mask = (df.filter(regex='chinese', axis=1).sum(axis=1).astype(bool) & | |
df.filter(regex='sans-serif', axis=1).sum(axis=1).astype(bool)) | |
df_selected = df[mask] | |
df_selected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment