Код: Выделить всё
import pandas as pd
data = pd.DataFrame(data=[tweet.text for tweet in tweets], columns=['Tweets'])
display(data.head(10))
Подробнее здесь: https://stackoverflow.com/questions/493 ... y-function
Код: Выделить всё
import pandas as pd
data = pd.DataFrame(data=[tweet.text for tweet in tweets], columns=['Tweets'])
display(data.head(10))