Skip to content

Commit 7c342d0

Browse files
committed
Series
1 parent 5b681a3 commit 7c342d0

File tree

1 file changed

+65
-3
lines changed

1 file changed

+65
-3
lines changed

Pandas.ipynb

Lines changed: 65 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,72 @@
2424
},
2525
{
2626
"cell_type": "code",
27-
"execution_count": null,
27+
"execution_count": 13,
2828
"metadata": {},
29-
"outputs": [],
30-
"source": []
29+
"outputs": [
30+
{
31+
"data": {
32+
"text/plain": [
33+
"0 10\n",
34+
"1 20\n",
35+
"2 30\n",
36+
"dtype: int64"
37+
]
38+
},
39+
"execution_count": 13,
40+
"metadata": {},
41+
"output_type": "execute_result"
42+
}
43+
],
44+
"source": [
45+
"pd.Series(my_data)"
46+
]
47+
},
48+
{
49+
"cell_type": "code",
50+
"execution_count": 15,
51+
"metadata": {},
52+
"outputs": [
53+
{
54+
"data": {
55+
"text/plain": [
56+
"0 10\n",
57+
"1 20\n",
58+
"2 30\n",
59+
"dtype: int64"
60+
]
61+
},
62+
"execution_count": 15,
63+
"metadata": {},
64+
"output_type": "execute_result"
65+
}
66+
],
67+
"source": [
68+
"pd.Series(data=my_data)"
69+
]
70+
},
71+
{
72+
"cell_type": "code",
73+
"execution_count": 17,
74+
"metadata": {},
75+
"outputs": [
76+
{
77+
"data": {
78+
"text/plain": [
79+
"10 a\n",
80+
"20 b\n",
81+
"30 c\n",
82+
"dtype: object"
83+
]
84+
},
85+
"execution_count": 17,
86+
"metadata": {},
87+
"output_type": "execute_result"
88+
}
89+
],
90+
"source": [
91+
"pd.Series(data=my_data,index=lables)"
92+
]
3193
}
3294
],
3395
"metadata": {

0 commit comments

Comments
 (0)