Introduction In this article I’m going to show how to create a Pandas DataFrame object in two different ways. Create a DataFrame from a dictionary The module numpy is not required, but I used it to show how to specify a NaN value in the list – np.nan. We could as well just specify None