pytae 2.2.3__tar.gz → 2.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytae-2.2.3 → pytae-2.2.4}/.ipynb_checkpoints/pyproject-checkpoint.toml +1 -1
- {pytae-2.2.3 → pytae-2.2.4}/PKG-INFO +1 -1
- {pytae-2.2.3 → pytae-2.2.4}/pyproject.toml +1 -1
- {pytae-2.2.3 → pytae-2.2.4}/src/.ipynb_checkpoints/agg_df-checkpoint.ipynb +10 -10
- {pytae-2.2.3 → pytae-2.2.4}/src/.ipynb_checkpoints/get_data-checkpoint.ipynb +5 -5
- {pytae-2.2.3 → pytae-2.2.4}/src/.ipynb_checkpoints/other_utilities-checkpoint.ipynb +9 -9
- pytae-2.2.4/src/.ipynb_checkpoints/shape-checkpoint.ipynb +709 -0
- {pytae-2.2.3 → pytae-2.2.4}/src/agg_df.ipynb +10 -10
- {pytae-2.2.3 → pytae-2.2.4}/src/get_data.ipynb +5 -5
- {pytae-2.2.3 → pytae-2.2.4}/src/other_utilities.ipynb +9 -9
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/.ipynb_checkpoints/agg_df-checkpoint.py +2 -2
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/.ipynb_checkpoints/get_data-checkpoint.py +7 -7
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/.ipynb_checkpoints/shape-checkpoint.py +14 -28
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/agg_df.py +2 -2
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/get_data.py +7 -7
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/shape.py +14 -28
- pytae-2.2.4/src/shape.ipynb +709 -0
- pytae-2.2.3/src/.ipynb_checkpoints/shape-checkpoint.ipynb +0 -224
- pytae-2.2.3/src/shape.ipynb +0 -221
- {pytae-2.2.3 → pytae-2.2.4}/.github/workflows/publish-to-test-pypi.yml +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/.gitignore +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/.ipynb_checkpoints/LICENSE-checkpoint +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/.ipynb_checkpoints/README-checkpoint.md +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/.ipynb_checkpoints/requirements-checkpoint.txt +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/LICENSE +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/README.md +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/requirements.txt +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/.ipynb_checkpoints/__init__-checkpoint.py +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/.ipynb_checkpoints/other_utilities-checkpoint.py +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/__init__.py +0 -0
- {pytae-2.2.3 → pytae-2.2.4}/src/pytae/other_utilities.py +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"cells": [
|
|
3
3
|
{
|
|
4
4
|
"cell_type": "code",
|
|
5
|
-
"execution_count":
|
|
5
|
+
"execution_count": 17,
|
|
6
6
|
"id": "e1e35300-a92f-47dd-b448-83861e79eedf",
|
|
7
7
|
"metadata": {},
|
|
8
8
|
"outputs": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"cell_type": "code",
|
|
18
|
-
"execution_count":
|
|
18
|
+
"execution_count": 18,
|
|
19
19
|
"id": "c3f73408-8dc7-4ea5-899b-e3b23a692cd8",
|
|
20
20
|
"metadata": {},
|
|
21
21
|
"outputs": [],
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"cell_type": "code",
|
|
30
|
-
"execution_count":
|
|
30
|
+
"execution_count": 19,
|
|
31
31
|
"id": "db20c1c7-c11f-431d-ae9c-d0c424f0d423",
|
|
32
32
|
"metadata": {},
|
|
33
33
|
"outputs": [
|
|
@@ -139,18 +139,18 @@
|
|
|
139
139
|
"6 f 45 20 22.5 25 2"
|
|
140
140
|
]
|
|
141
141
|
},
|
|
142
|
-
"execution_count":
|
|
142
|
+
"execution_count": 19,
|
|
143
143
|
"metadata": {},
|
|
144
144
|
"output_type": "execute_result"
|
|
145
145
|
}
|
|
146
146
|
],
|
|
147
147
|
"source": [
|
|
148
|
-
"df[['id','balance']].agg_df(
|
|
148
|
+
"df[['id','balance']].agg_df(aggfunc=['sum','min','mean','min','max','n'])"
|
|
149
149
|
]
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"cell_type": "code",
|
|
153
|
-
"execution_count":
|
|
153
|
+
"execution_count": 20,
|
|
154
154
|
"id": "66cb16ac-30b8-491e-94b4-0a2065d1e29b",
|
|
155
155
|
"metadata": {},
|
|
156
156
|
"outputs": [
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"6 f 45"
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
|
-
"execution_count":
|
|
233
|
+
"execution_count": 20,
|
|
234
234
|
"metadata": {},
|
|
235
235
|
"output_type": "execute_result"
|
|
236
236
|
}
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
"cell_type": "code",
|
|
246
|
-
"execution_count":
|
|
246
|
+
"execution_count": 21,
|
|
247
247
|
"id": "cbf32f4b-5f41-4ea7-bfa4-9f884d714f31",
|
|
248
248
|
"metadata": {},
|
|
249
249
|
"outputs": [
|
|
@@ -419,13 +419,13 @@
|
|
|
419
419
|
"9 13514.0 334575.0 "
|
|
420
420
|
]
|
|
421
421
|
},
|
|
422
|
-
"execution_count":
|
|
422
|
+
"execution_count": 21,
|
|
423
423
|
"metadata": {},
|
|
424
424
|
"output_type": "execute_result"
|
|
425
425
|
}
|
|
426
426
|
],
|
|
427
427
|
"source": [
|
|
428
|
-
"penguins.agg_df(
|
|
428
|
+
"penguins.agg_df(aggfunc=['n','sum']) "
|
|
429
429
|
]
|
|
430
430
|
},
|
|
431
431
|
{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"cells": [
|
|
3
3
|
{
|
|
4
4
|
"cell_type": "code",
|
|
5
|
-
"execution_count":
|
|
5
|
+
"execution_count": 9,
|
|
6
6
|
"id": "0fe64a26-2fb9-4272-b389-768653879781",
|
|
7
7
|
"metadata": {},
|
|
8
8
|
"outputs": [],
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"cell_type": "code",
|
|
21
|
-
"execution_count":
|
|
21
|
+
"execution_count": 10,
|
|
22
22
|
"id": "71ff2554-e610-4592-a019-c3bc2b0c536d",
|
|
23
23
|
"metadata": {},
|
|
24
24
|
"outputs": [
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"4 Dream NaN Adelie 2975.0 37.5"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
107
|
-
"execution_count":
|
|
107
|
+
"execution_count": 10,
|
|
108
108
|
"metadata": {},
|
|
109
109
|
"output_type": "execute_result"
|
|
110
110
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"cell_type": "code",
|
|
120
|
-
"execution_count":
|
|
120
|
+
"execution_count": 11,
|
|
121
121
|
"id": "9ed6f23b-f588-4651-9db4-3cfb56b37a9b",
|
|
122
122
|
"metadata": {},
|
|
123
123
|
"outputs": [
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"4 Torgersen Male Adelie 92800.0"
|
|
198
198
|
]
|
|
199
199
|
},
|
|
200
|
-
"execution_count":
|
|
200
|
+
"execution_count": 11,
|
|
201
201
|
"metadata": {},
|
|
202
202
|
"output_type": "execute_result"
|
|
203
203
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"cells": [
|
|
3
3
|
{
|
|
4
4
|
"cell_type": "code",
|
|
5
|
-
"execution_count":
|
|
5
|
+
"execution_count": 6,
|
|
6
6
|
"id": "af0e75c1-7748-44e7-974e-34112d92d813",
|
|
7
7
|
"metadata": {},
|
|
8
8
|
"outputs": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
17
|
"cell_type": "code",
|
|
18
|
-
"execution_count":
|
|
18
|
+
"execution_count": 7,
|
|
19
19
|
"id": "e42e01b5-4b00-4f95-acec-274deda67a3c",
|
|
20
20
|
"metadata": {},
|
|
21
21
|
"outputs": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
" 'species']"
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
|
-
"execution_count":
|
|
34
|
+
"execution_count": 7,
|
|
35
35
|
"metadata": {},
|
|
36
36
|
"output_type": "execute_result"
|
|
37
37
|
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"cell_type": "code",
|
|
46
|
-
"execution_count":
|
|
46
|
+
"execution_count": 8,
|
|
47
47
|
"id": "e7136bed-d2e1-48c5-a337-8e31fc020a98",
|
|
48
48
|
"metadata": {},
|
|
49
49
|
"outputs": [
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"4 3450.0 Female 24 "
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
|
-
"execution_count":
|
|
157
|
+
"execution_count": 8,
|
|
158
158
|
"metadata": {},
|
|
159
159
|
"output_type": "execute_result"
|
|
160
160
|
}
|
|
@@ -163,14 +163,14 @@
|
|
|
163
163
|
"#add a group count\n",
|
|
164
164
|
"df = (\n",
|
|
165
165
|
" penguins\n",
|
|
166
|
-
" .pipe(pt.group_n,
|
|
166
|
+
" .pipe(pt.group_n,dropna=False)\n",
|
|
167
167
|
")\n",
|
|
168
168
|
"df.head()"
|
|
169
169
|
]
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"cell_type": "code",
|
|
173
|
-
"execution_count":
|
|
173
|
+
"execution_count": 9,
|
|
174
174
|
"id": "87e3dd20-d5e1-4219-8aee-e842a3d52194",
|
|
175
175
|
"metadata": {},
|
|
176
176
|
"outputs": [
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
"4 3450.0 Female "
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
|
-
"execution_count":
|
|
278
|
+
"execution_count": 9,
|
|
279
279
|
"metadata": {},
|
|
280
280
|
"output_type": "execute_result"
|
|
281
281
|
}
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
"cell_type": "code",
|
|
295
|
-
"execution_count":
|
|
295
|
+
"execution_count": 10,
|
|
296
296
|
"id": "b17a9574-35ff-4fe2-b40f-054a0b5e5003",
|
|
297
297
|
"metadata": {},
|
|
298
298
|
"outputs": [],
|