I'm trying to get my data head to display but I get an error message: NameError: name 'display' undefined
import pandas as pd
data = pd.DataFrame(data=[tweet.text for tweet in tweets], columns=['Tweets'])
display(data.head(10))
Any ideas on how to fix this?