Last active
February 5, 2020 11:05
-
-
Save lakshay-arora/c34adc85cfd7a77e2f02a2b55d3687a8 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
# select few columns with a condition | |
data.loc[(data.age >= 12), ['city', 'gender']] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment