Concept Flow - Creating DataFrame from dictionary
Start with dictionary
Pass dictionary to pd.DataFrame()
pandas creates columns from keys
Rows created from values
DataFrame object ready to use
We start with a dictionary where keys are column names and values are lists of data. Passing it to pd.DataFrame() creates a table with columns and rows.