pandas series vs dataframe

dataframe (think 2D array) is made up of multiple series (1D array)

Here is what the above code is Doing:
1. Creating a series from a list
2. Creating a series from a dictionary
3. Creating a dataframe from a dictionary
4. Creating a dataframe from a list of dictionaries
5. Creating a dataframe from a list of lists
6. Creating a dataframe from a series
7. Creating a dataframe from a 2D array