Creating an empty dataframe in Python for Data Science:
To create an empty dataset, we simply call a dataframe constructor.
Creation of dataframe using List: We can create dataframe using a list or a list of lists.
Creation of DataFrame from dict of ndarray/lists: In order to create DataFrame from dict of ndaray/list, all ndarray must be of same length. In case of index being passed, length of index should be equal to length of arrays. In the case of no index being passed then by default, index will be considered range(n) (n is array length).
Creating pandas dataframe from lists using dictionary:
Creation of pandas dataframe from lists using dictionary is possible by using pandas.DataFrame. Using this method, it is possible to transform a dictionary of list to a dataframe.
So, to learn more about it in python for data science, you can check this and this as well.