I have the following data frame as df and I am checking for this condition. df = df[df[\'Name\'].str.len()>5] this condition will remove 4th an
df
df = df[df[\'Name\'].str.len()>5]