Last active 1715845104

Revision d597b1dd53efb6253c1f924c73b5a42a9488d8a5

q26.py Raw
1# Using Pandas, create a dataframe, initialize it with the contents such as your enrollment Number and name and
2# display them.
3
4import numpy as np
5import pandas as pd
6
7class_list = pd.DataFrame(np.array([
8 ["Name", "Enrollment Number"],
9 ["Alice", 1],
10 ["Bob", 2],
11 ["Bob", 3]
12]))
13
14print(class_list)
15