当df中存在过长的问题当,在pandas中查询无法全部展示是,可尝试一下代码进行尝试
pd.set_option('max_colwidth', 400)
print(twitter_archive_enhanced_clean[1979:1982]['text'])
1979 This is Stuart. He's sporting his favorite fanny pack. Secretly filled with bones only. 13/10 puppared puppo #BarkWeek https://t.co/y70o6h3isq
1980 This is Ted. He does his best. Sometimes that's not enough. But it's ok. 12/10 would assist https://t.co/f8dEDcrKSR
1981 Here's a puppo that seems to be on the fence about something haha no but seriously someone help her. 13/10 https://t.co/BxvuXk0UCm
Name: text, dtype: object