How to create pandas dataframe from list?

>>> import pandas as pd
>>> dd = [23, 34, 45, 67, 0, 8, 12]
>>> df = pd.DataFrame(dd)
>>> print(df)

Output:--

    0
0  23
1  34
2  45
3  67
4   0
5   8
6  12
>>> 

 

Total Views: 525