Can you help me fix this code? I'm trying to create a new dataframe with the lines I want.
import pandas as pd
#Creating dataframe
d = {'col1': [1,2,3,4,5,6,7,8,9,10], 'col2': ['azs','bdq','bzm','bqm','csm','dqs','cm','a','z','c']}
df = pd.DataFrame(data=d)
x = df[df['col1'].int.contains("2|3|5",na=False)]