Skip to content

Commit b1098fd

Browse files
Create Pandas.py
1 parent 065ff7c commit b1098fd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

FORKED_FOR_TSHIRT/Pandas.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Python code demonstrate creating
2+
# DataFrame from dict narray / lists
3+
# By default addresses.
4+
5+
import pandas as pd
6+
7+
# intialise data of lists.
8+
data = {'Name':['Tom', 'nick', 'krish', 'jack'],
9+
'Age':[20, 21, 19, 18]}
10+
11+
# Create DataFrame
12+
df = pd.DataFrame(data)
13+
14+
# Print the output.
15+
print(df)

0 commit comments

Comments
 (0)