I would like to create the following dataframe without columns names
import pandas as pd
df = pd.DataFrame([0,423,2342],[12,123,1231], [1,3,5])
I get back an error
TypeError: unhashable type: 'list'
What am I doing wrong?
I also tried {}
, but it did not help.
df = pd.DataFrame({[0,423,2342],[12,123,1231], [1,3,5]})