最後活躍 1715845104

sujal's Avatar sujal 已修改 1715845104. 還原成這個修訂版本

1 file changed, 14 insertions

q26.py(檔案已創建)

@@ -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)
上一頁 下一頁