dataframe' object has no attribute 'split
globazal.com › f4q4xzc1 › pageFeb 15, 2021 · Let’s look at a simple example where we drop a number of columns from a DataFrame. new_df = df[len(df['Title'].split(" "))>=4]-----AttributeError: 'Series' object has no attribute 'split' One way is to first create a column which contains no of words in the title using apply and then filter on that column.