Filter data frame based on index value in Python [duplicate] April 11, 2023 by Tarik try this: Filter_df = df[df.index.isin(my_list)]