SyntaxFix
Write A Post
Hire A Developer
Questions
In pandas you can do str.len with your boundary and using the Boolean result to filter it .
str.len
df[df['column name'].str.len().lt(2)]