I have a column in my data that contains these kind of values
2
yes
In python pandas how would I identify the entire row
IIUC:
df = df[~pd.to_numeric(df['col'], errors='coerce').isna()]
or
df = df[pd.to_numeric(df['col'], errors='coerce').notna()]