We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df8d22 commit 36a92e9Copy full SHA for 36a92e9
ListofListstoDataframe.py
@@ -0,0 +1,7 @@
1
+import pandas as pd
2
+data = [['DSA', 'Python', 80],
3
+ ['DS', 'MATLAB', 70],
4
+ ['OSDC', 'C', 94],
5
+ ['MAPD', 'JAVA', 78]]
6
+df = pd.DataFrame(data, columns=['Subject', 'Language', 'Marks'])
7
+print(df)
0 commit comments