0
I have a question in creating a dataframe as an example
dicionario = {'pais': 'brasil', 'capital': 'Brasilia', 'climate': 'tropical'}
pd.Dataframe(dictionary)
back index error
but put some value on the list dicionario = {'pais': ['brasil'], 'capital': 'Brasilia', 'climate': 'tropical'}
pd.Dataframe(dictionary)
Back a perfect dataframe pandas with index and columns