Answers for "how to filter pandas df if column has more than one value"

1

python multiple conditions in dataframe column values

df.loc[(df['Salary_in_1000']>=100) & (df['Age']< 60) & (df['FT_Team'].str.startswith('S')),['Name','FT_Team']]
Posted by: Guest on August-25-2021

Code answers related to "how to filter pandas df if column has more than one value"

Python Answers by Framework

Browse Popular Code Answers by Language