I like to filter out data whose string length is not equal to 10.
If I try to filter out any row whose column A\'s or B\'s string length is not equal to 10, I tried
you can use df.apply(len) . it will give you the result
df.apply(len)