0

suppose i have a DataFrame like this

_data=pd.DataFrame({
    'name':['sam','kalrx','mark','ru']
})

and if i want to filter the dataframe with two names, then how can i do it

_data.where(_data=='sam' and 'mark')
Lijin Durairaj
  • 4,910
  • 15
  • 52
  • 85

0 Answers0