Filter DataFrame berdasarkan indeks
Filter_df = df[df.index.isin(my_list)]
Successful Salamander
Filter_df = df[df.index.isin(my_list)]
import pandas as pd
series= pd.Series({'temp1':12,'temp2':23, 'temp3':31, 'temp4':42})
# assuming you want to print only temp4
print(series[series.index=="temp4"])