0
JPJavier Pacheco
The df.loc[df["column"].isin(list)] function searches the location of the given column in the dataset and returns a list of the rows that contain that column. This function is equivalent to:
df.
0 Comments
import pandas as pd df.loc[df["column"].isin(list)]