import pandas as pd
import numpy as np
df = pd.DataFrame({'A': [1.,3,5],
'B': pd.Timestamp('20200101'),
'C': pd.Series(1, index=list(range(3)), dtype='float32'),
'D': np.array([3]*3, dtype='int32'),
'E': pd.Categorical(["cat1", "cat2", "cat3"]),
})
print(df)
"""Output
A B C D E
0 1.0 2020-01-01 1.0 3 cat1
1 3.0 2020-01-01 1.0 3 cat2
2 5.0 2020-01-01 1.0 3 cat3
"""