Untitled
unknown
python
a year ago
276 B
3
Indexable
# Import pandas package import pandas as pd import numpy as np # Define a dictionary containing data data = {'City':['Bangalore', 'Mumbai', 'Chennai', 'Delhi']} # Convert the dictionary into DataFrame df = pd.DataFrame(data) # Observe the result df
Editor is loading...
Leave a Comment