I am following this tutorial online called leanpython.org, and was following the tutorial about the pandas dataframe. I ran the code below and it worked fine in the code editor on their website, but when i run it on my text editor (Brackets), it doesn't work. Is the code wrong? or is the website just out dated or something?
import pandas as pd
dict = { "word": ["hi", "bye", "apple", "orange", "tree", "google"], "numOfLetters": ["2", "3", "5", "6", "4", "6"]}
brics = pd.DataFrame(dict)
print(brics)