I am new to Pandas and DataFrame concept and learning through experiments. While creating a new DataFrame I tried with the following code, but gives me some error. Please suggest.
import pandas as pd
akshit = pd.DataFrame({'Name': 'Akshit', 'Last': 'Gupta'})
I expected the dataframe to be created, but I am getting the following error:
ValueError: If using all scalar values, you must pass an index