In this we are going to create Dataframe from List To List with help of Pandas. If you don't know what is Pandas and how to install don't worry! type "pip install pandas" in Command Prompt or Terminal
What is Pandas?
Pandas is a software library written for the Python programming language for data manipulation and analysis. In particular, it offers data structures and operation for manipulating numerical tables ans time series.
Modules to import:-
1. Import Pandas as pd
Here is the code
import pandas as pd
data = [['Ram', 10], ['Shyam', 15], ['Ganshyam', 20]]
df = pd.DataFrame(data, columns = ['Name', 'Age'])
print(df)
Output