Skip to content

Commit 31e2199

Browse files
Add files via upload
1 parent bb7e955 commit 31e2199

File tree

23 files changed

+103246
-0
lines changed

23 files changed

+103246
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,316 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 14,
6+
"id": "d3d27258",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"import numpy as np\n",
11+
"import pandas as pd"
12+
]
13+
},
14+
{
15+
"cell_type": "code",
16+
"execution_count": 5,
17+
"id": "da448c8c",
18+
"metadata": {},
19+
"outputs": [],
20+
"source": [
21+
"lst = [1,2,3,4,5]"
22+
]
23+
},
24+
{
25+
"cell_type": "code",
26+
"execution_count": 15,
27+
"id": "c6bd0c9a",
28+
"metadata": {},
29+
"outputs": [
30+
{
31+
"data": {
32+
"text/plain": [
33+
"array([1, 2, 3, 4, 5])"
34+
]
35+
},
36+
"execution_count": 15,
37+
"metadata": {},
38+
"output_type": "execute_result"
39+
}
40+
],
41+
"source": [
42+
"np.array(lst)"
43+
]
44+
},
45+
{
46+
"cell_type": "code",
47+
"execution_count": 22,
48+
"id": "0b65a039",
49+
"metadata": {},
50+
"outputs": [
51+
{
52+
"data": {
53+
"text/plain": [
54+
"0 [1, 2, 3, 4, 5]\n",
55+
"1 [1, 2, 3, 4, 5]\n",
56+
"2 [1, 2, 3, 4, 5]\n",
57+
"dtype: object"
58+
]
59+
},
60+
"execution_count": 22,
61+
"metadata": {},
62+
"output_type": "execute_result"
63+
}
64+
],
65+
"source": [
66+
"pd.Series([lst,lst,lst])"
67+
]
68+
},
69+
{
70+
"cell_type": "code",
71+
"execution_count": 23,
72+
"id": "88558f91",
73+
"metadata": {},
74+
"outputs": [],
75+
"source": [
76+
"df = pd.DataFrame([lst,lst,lst,lst,lst,lst,lst,lst,lst], columns = ['A','B','C','D','E'])"
77+
]
78+
},
79+
{
80+
"cell_type": "code",
81+
"execution_count": 25,
82+
"id": "690e6ed8",
83+
"metadata": {},
84+
"outputs": [
85+
{
86+
"data": {
87+
"text/html": [
88+
"<div>\n",
89+
"<style scoped>\n",
90+
" .dataframe tbody tr th:only-of-type {\n",
91+
" vertical-align: middle;\n",
92+
" }\n",
93+
"\n",
94+
" .dataframe tbody tr th {\n",
95+
" vertical-align: top;\n",
96+
" }\n",
97+
"\n",
98+
" .dataframe thead th {\n",
99+
" text-align: right;\n",
100+
" }\n",
101+
"</style>\n",
102+
"<table border=\"1\" class=\"dataframe\">\n",
103+
" <thead>\n",
104+
" <tr style=\"text-align: right;\">\n",
105+
" <th></th>\n",
106+
" <th>A</th>\n",
107+
" <th>B</th>\n",
108+
" <th>C</th>\n",
109+
" <th>D</th>\n",
110+
" <th>E</th>\n",
111+
" </tr>\n",
112+
" </thead>\n",
113+
" <tbody>\n",
114+
" <tr>\n",
115+
" <th>0</th>\n",
116+
" <td>1</td>\n",
117+
" <td>2</td>\n",
118+
" <td>3</td>\n",
119+
" <td>4</td>\n",
120+
" <td>5</td>\n",
121+
" </tr>\n",
122+
" <tr>\n",
123+
" <th>1</th>\n",
124+
" <td>1</td>\n",
125+
" <td>2</td>\n",
126+
" <td>3</td>\n",
127+
" <td>4</td>\n",
128+
" <td>5</td>\n",
129+
" </tr>\n",
130+
" <tr>\n",
131+
" <th>2</th>\n",
132+
" <td>1</td>\n",
133+
" <td>2</td>\n",
134+
" <td>3</td>\n",
135+
" <td>4</td>\n",
136+
" <td>5</td>\n",
137+
" </tr>\n",
138+
" <tr>\n",
139+
" <th>3</th>\n",
140+
" <td>1</td>\n",
141+
" <td>2</td>\n",
142+
" <td>3</td>\n",
143+
" <td>4</td>\n",
144+
" <td>5</td>\n",
145+
" </tr>\n",
146+
" <tr>\n",
147+
" <th>4</th>\n",
148+
" <td>1</td>\n",
149+
" <td>2</td>\n",
150+
" <td>3</td>\n",
151+
" <td>4</td>\n",
152+
" <td>5</td>\n",
153+
" </tr>\n",
154+
" <tr>\n",
155+
" <th>5</th>\n",
156+
" <td>1</td>\n",
157+
" <td>2</td>\n",
158+
" <td>3</td>\n",
159+
" <td>4</td>\n",
160+
" <td>5</td>\n",
161+
" </tr>\n",
162+
" <tr>\n",
163+
" <th>6</th>\n",
164+
" <td>1</td>\n",
165+
" <td>2</td>\n",
166+
" <td>3</td>\n",
167+
" <td>4</td>\n",
168+
" <td>5</td>\n",
169+
" </tr>\n",
170+
" <tr>\n",
171+
" <th>7</th>\n",
172+
" <td>1</td>\n",
173+
" <td>2</td>\n",
174+
" <td>3</td>\n",
175+
" <td>4</td>\n",
176+
" <td>5</td>\n",
177+
" </tr>\n",
178+
" <tr>\n",
179+
" <th>8</th>\n",
180+
" <td>1</td>\n",
181+
" <td>2</td>\n",
182+
" <td>3</td>\n",
183+
" <td>4</td>\n",
184+
" <td>5</td>\n",
185+
" </tr>\n",
186+
" </tbody>\n",
187+
"</table>\n",
188+
"</div>"
189+
],
190+
"text/plain": [
191+
" A B C D E\n",
192+
"0 1 2 3 4 5\n",
193+
"1 1 2 3 4 5\n",
194+
"2 1 2 3 4 5\n",
195+
"3 1 2 3 4 5\n",
196+
"4 1 2 3 4 5\n",
197+
"5 1 2 3 4 5\n",
198+
"6 1 2 3 4 5\n",
199+
"7 1 2 3 4 5\n",
200+
"8 1 2 3 4 5"
201+
]
202+
},
203+
"execution_count": 25,
204+
"metadata": {},
205+
"output_type": "execute_result"
206+
}
207+
],
208+
"source": [
209+
"df"
210+
]
211+
},
212+
{
213+
"cell_type": "code",
214+
"execution_count": 26,
215+
"id": "c0b939e2",
216+
"metadata": {},
217+
"outputs": [],
218+
"source": [
219+
"del df"
220+
]
221+
},
222+
{
223+
"cell_type": "code",
224+
"execution_count": 27,
225+
"id": "ce679a64",
226+
"metadata": {},
227+
"outputs": [
228+
{
229+
"ename": "NameError",
230+
"evalue": "name 'df' is not defined",
231+
"output_type": "error",
232+
"traceback": [
233+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
234+
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
235+
"\u001b[0;32m<ipython-input-27-00cf07b74dcd>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mdf\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
236+
"\u001b[0;31mNameError\u001b[0m: name 'df' is not defined"
237+
]
238+
}
239+
],
240+
"source": [
241+
"df"
242+
]
243+
},
244+
{
245+
"cell_type": "code",
246+
"execution_count": null,
247+
"id": "975234d4",
248+
"metadata": {},
249+
"outputs": [],
250+
"source": [
251+
"pd.array()"
252+
]
253+
},
254+
{
255+
"cell_type": "code",
256+
"execution_count": null,
257+
"id": "a1029b5e",
258+
"metadata": {},
259+
"outputs": [],
260+
"source": []
261+
},
262+
{
263+
"cell_type": "code",
264+
"execution_count": null,
265+
"id": "82d26a17",
266+
"metadata": {},
267+
"outputs": [],
268+
"source": []
269+
},
270+
{
271+
"cell_type": "code",
272+
"execution_count": null,
273+
"id": "13c99b18",
274+
"metadata": {},
275+
"outputs": [],
276+
"source": []
277+
},
278+
{
279+
"cell_type": "code",
280+
"execution_count": null,
281+
"id": "be52fe57",
282+
"metadata": {},
283+
"outputs": [],
284+
"source": []
285+
},
286+
{
287+
"cell_type": "code",
288+
"execution_count": null,
289+
"id": "5caba000",
290+
"metadata": {},
291+
"outputs": [],
292+
"source": []
293+
}
294+
],
295+
"metadata": {
296+
"kernelspec": {
297+
"display_name": "Python 3",
298+
"language": "python",
299+
"name": "python3"
300+
},
301+
"language_info": {
302+
"codemirror_mode": {
303+
"name": "ipython",
304+
"version": 3
305+
},
306+
"file_extension": ".py",
307+
"mimetype": "text/x-python",
308+
"name": "python",
309+
"nbconvert_exporter": "python",
310+
"pygments_lexer": "ipython3",
311+
"version": "3.8.8"
312+
}
313+
},
314+
"nbformat": 4,
315+
"nbformat_minor": 5
316+
}

0 commit comments

Comments
 (0)