sujal revisou este gist . Ir para a revisão
1 file changed, 14 insertions
q26.py(arquivo criado)
@@ -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) |
Próximo
Anterior