Dernière activité 1715845104

sujal's Avatar sujal a révisé ce gist 1715845104. Aller à la révision

1 file changed, 14 insertions

q26.py(fichier créé)

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