I'm working on a dataframe and I want to drop some rows with multiple specific string value on column. For example, the df is like this:
ID type price
da499 hotel $41946
fa987 hotel $251
gh552 Restaurant $764
vc947 bar $2314
bc521 bar $2191
fv231 Restaurant $4985
df987 estate $654
bv231 estate $231
kc818 school $91456
And I want to drop the rows with type
equal to hotel, Restaurant and estate to form a df like this:
ID type price
vc947 bar $2314
bc521 bar $2191
kc818 school $91456
How can I use the drop
function to get the result?