Avoid deprecated pandas index argument in the text notebook
Browse files- MANIFEST.json +2 -2
- notebooks/text.ipynb +67 -67
- text_annotation_submission_2026-11-18.zip +2 -2
MANIFEST.json
CHANGED
|
@@ -51,8 +51,8 @@
|
|
| 51 |
},
|
| 52 |
{
|
| 53 |
"path": "notebooks/text.ipynb",
|
| 54 |
-
"sha256": "
|
| 55 |
-
"bytes":
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"path": "pyproject.toml",
|
|
|
|
| 51 |
},
|
| 52 |
{
|
| 53 |
"path": "notebooks/text.ipynb",
|
| 54 |
+
"sha256": "2022ad376cdb27c4aa82ef7dccdd86cbfacb6960d2419b38df98744692ddb4bc",
|
| 55 |
+
"bytes": 394674
|
| 56 |
},
|
| 57 |
{
|
| 58 |
"path": "pyproject.toml",
|
notebooks/text.ipynb
CHANGED
|
@@ -45,12 +45,12 @@
|
|
| 45 |
},
|
| 46 |
{
|
| 47 |
"cell_type": "code",
|
| 48 |
-
"execution_count":
|
| 49 |
"id": "text-dependencies",
|
| 50 |
"metadata": {
|
| 51 |
"ExecuteTime": {
|
| 52 |
-
"end_time": "2026-11-18T14:
|
| 53 |
-
"start_time": "2026-11-18T14:
|
| 54 |
},
|
| 55 |
"execution": {
|
| 56 |
"iopub.execute_input": "2026-11-18T14:18:45.517951Z",
|
|
@@ -64,7 +64,7 @@
|
|
| 64 |
"name": "stdout",
|
| 65 |
"output_type": "stream",
|
| 66 |
"text": [
|
| 67 |
-
"Все зависимости уже установлены в подходящих версиях.\
|
| 68 |
]
|
| 69 |
}
|
| 70 |
],
|
|
@@ -92,12 +92,12 @@
|
|
| 92 |
},
|
| 93 |
{
|
| 94 |
"cell_type": "code",
|
| 95 |
-
"execution_count":
|
| 96 |
"id": "text-download",
|
| 97 |
"metadata": {
|
| 98 |
"ExecuteTime": {
|
| 99 |
-
"end_time": "2026-11-18T14:
|
| 100 |
-
"start_time": "2026-11-18T14:
|
| 101 |
},
|
| 102 |
"execution": {
|
| 103 |
"iopub.execute_input": "2026-11-18T14:18:45.794088Z",
|
|
@@ -111,13 +111,7 @@
|
|
| 111 |
"name": "stdout",
|
| 112 |
"output_type": "stream",
|
| 113 |
"text": [
|
| 114 |
-
"RuSpellGold уже скачан.\
|
| 115 |
-
]
|
| 116 |
-
},
|
| 117 |
-
{
|
| 118 |
-
"name": "stdout",
|
| 119 |
-
"output_type": "stream",
|
| 120 |
-
"text": [
|
| 121 |
"Записей: 1711\n"
|
| 122 |
]
|
| 123 |
},
|
|
@@ -227,12 +221,12 @@
|
|
| 227 |
},
|
| 228 |
{
|
| 229 |
"cell_type": "code",
|
| 230 |
-
"execution_count":
|
| 231 |
"id": "eda-imports",
|
| 232 |
"metadata": {
|
| 233 |
"ExecuteTime": {
|
| 234 |
-
"end_time": "2026-11-18T14:
|
| 235 |
-
"start_time": "2026-11-18T14:
|
| 236 |
},
|
| 237 |
"execution": {
|
| 238 |
"iopub.execute_input": "2026-11-18T14:18:46.349895Z",
|
|
@@ -284,12 +278,12 @@
|
|
| 284 |
},
|
| 285 |
{
|
| 286 |
"cell_type": "code",
|
| 287 |
-
"execution_count":
|
| 288 |
"id": "eda-quality",
|
| 289 |
"metadata": {
|
| 290 |
"ExecuteTime": {
|
| 291 |
-
"end_time": "2026-11-18T14:
|
| 292 |
-
"start_time": "2026-11-18T14:
|
| 293 |
},
|
| 294 |
"execution": {
|
| 295 |
"iopub.execute_input": "2026-11-18T14:18:46.542790Z",
|
|
@@ -458,12 +452,12 @@
|
|
| 458 |
},
|
| 459 |
{
|
| 460 |
"cell_type": "code",
|
| 461 |
-
"execution_count":
|
| 462 |
"id": "eda-normalize",
|
| 463 |
"metadata": {
|
| 464 |
"ExecuteTime": {
|
| 465 |
-
"end_time": "2026-11-18T14:
|
| 466 |
-
"start_time": "2026-11-18T14:
|
| 467 |
},
|
| 468 |
"execution": {
|
| 469 |
"iopub.execute_input": "2026-11-18T14:18:46.557386Z",
|
|
@@ -492,12 +486,12 @@
|
|
| 492 |
},
|
| 493 |
{
|
| 494 |
"cell_type": "code",
|
| 495 |
-
"execution_count":
|
| 496 |
"id": "eda-domains",
|
| 497 |
"metadata": {
|
| 498 |
"ExecuteTime": {
|
| 499 |
-
"end_time": "2026-11-18T14:
|
| 500 |
-
"start_time": "2026-11-18T14:
|
| 501 |
},
|
| 502 |
"execution": {
|
| 503 |
"iopub.execute_input": "2026-11-18T14:18:46.560352Z",
|
|
@@ -552,12 +546,12 @@
|
|
| 552 |
},
|
| 553 |
{
|
| 554 |
"cell_type": "code",
|
| 555 |
-
"execution_count":
|
| 556 |
"id": "eda-length-stats",
|
| 557 |
"metadata": {
|
| 558 |
"ExecuteTime": {
|
| 559 |
-
"end_time": "2026-11-18T14:
|
| 560 |
-
"start_time": "2026-11-18T14:
|
| 561 |
},
|
| 562 |
"execution": {
|
| 563 |
"iopub.execute_input": "2026-11-18T14:18:46.633971Z",
|
|
@@ -661,12 +655,12 @@
|
|
| 661 |
},
|
| 662 |
{
|
| 663 |
"cell_type": "code",
|
| 664 |
-
"execution_count":
|
| 665 |
"id": "eda-length-plots",
|
| 666 |
"metadata": {
|
| 667 |
"ExecuteTime": {
|
| 668 |
-
"end_time": "2026-11-18T14:
|
| 669 |
-
"start_time": "2026-11-18T14:
|
| 670 |
},
|
| 671 |
"execution": {
|
| 672 |
"iopub.execute_input": "2026-11-18T14:18:46.645291Z",
|
|
@@ -723,12 +717,12 @@
|
|
| 723 |
},
|
| 724 |
{
|
| 725 |
"cell_type": "code",
|
| 726 |
-
"execution_count":
|
| 727 |
"id": "eda-domain-lengths",
|
| 728 |
"metadata": {
|
| 729 |
"ExecuteTime": {
|
| 730 |
-
"end_time": "2026-11-18T14:
|
| 731 |
-
"start_time": "2026-11-18T14:
|
| 732 |
},
|
| 733 |
"execution": {
|
| 734 |
"iopub.execute_input": "2026-11-18T14:18:46.771368Z",
|
|
@@ -850,12 +844,12 @@
|
|
| 850 |
},
|
| 851 |
{
|
| 852 |
"cell_type": "code",
|
| 853 |
-
"execution_count":
|
| 854 |
"id": "eda-features",
|
| 855 |
"metadata": {
|
| 856 |
"ExecuteTime": {
|
| 857 |
-
"end_time": "2026-11-18T14:
|
| 858 |
-
"start_time": "2026-11-18T14:
|
| 859 |
},
|
| 860 |
"execution": {
|
| 861 |
"iopub.execute_input": "2026-11-18T14:18:46.835055Z",
|
|
@@ -950,12 +944,12 @@
|
|
| 950 |
},
|
| 951 |
{
|
| 952 |
"cell_type": "code",
|
| 953 |
-
"execution_count":
|
| 954 |
"id": "eda-changes",
|
| 955 |
"metadata": {
|
| 956 |
"ExecuteTime": {
|
| 957 |
-
"end_time": "2026-11-18T14:
|
| 958 |
-
"start_time": "2026-11-18T14:
|
| 959 |
},
|
| 960 |
"execution": {
|
| 961 |
"iopub.execute_input": "2026-11-18T14:18:46.844849Z",
|
|
@@ -1031,12 +1025,12 @@
|
|
| 1031 |
},
|
| 1032 |
{
|
| 1033 |
"cell_type": "code",
|
| 1034 |
-
"execution_count":
|
| 1035 |
"id": "eda-domain-changes",
|
| 1036 |
"metadata": {
|
| 1037 |
"ExecuteTime": {
|
| 1038 |
-
"end_time": "2026-11-18T14:
|
| 1039 |
-
"start_time": "2026-11-18T14:
|
| 1040 |
},
|
| 1041 |
"execution": {
|
| 1042 |
"iopub.execute_input": "2026-11-18T14:18:46.984958Z",
|
|
@@ -1092,12 +1086,12 @@
|
|
| 1092 |
},
|
| 1093 |
{
|
| 1094 |
"cell_type": "code",
|
| 1095 |
-
"execution_count":
|
| 1096 |
"id": "eda-distance",
|
| 1097 |
"metadata": {
|
| 1098 |
"ExecuteTime": {
|
| 1099 |
-
"end_time": "2026-11-18T14:
|
| 1100 |
-
"start_time": "2026-11-18T14:
|
| 1101 |
},
|
| 1102 |
"execution": {
|
| 1103 |
"iopub.execute_input": "2026-11-18T14:18:47.069408Z",
|
|
@@ -1224,12 +1218,12 @@
|
|
| 1224 |
},
|
| 1225 |
{
|
| 1226 |
"cell_type": "code",
|
| 1227 |
-
"execution_count":
|
| 1228 |
"id": "eda-operations",
|
| 1229 |
"metadata": {
|
| 1230 |
"ExecuteTime": {
|
| 1231 |
-
"end_time": "2026-11-18T14:
|
| 1232 |
-
"start_time": "2026-11-18T14:
|
| 1233 |
},
|
| 1234 |
"execution": {
|
| 1235 |
"iopub.execute_input": "2026-11-18T14:18:47.171025Z",
|
|
@@ -1347,12 +1341,12 @@
|
|
| 1347 |
},
|
| 1348 |
{
|
| 1349 |
"cell_type": "code",
|
| 1350 |
-
"execution_count":
|
| 1351 |
"id": "eda-examples",
|
| 1352 |
"metadata": {
|
| 1353 |
"ExecuteTime": {
|
| 1354 |
-
"end_time": "2026-11-18T14:
|
| 1355 |
-
"start_time": "2026-11-18T14:
|
| 1356 |
},
|
| 1357 |
"execution": {
|
| 1358 |
"iopub.execute_input": "2026-11-18T14:18:47.280695Z",
|
|
@@ -1507,9 +1501,13 @@
|
|
| 1507 |
},
|
| 1508 |
{
|
| 1509 |
"cell_type": "code",
|
| 1510 |
-
"execution_count":
|
| 1511 |
"id": "pilot-load",
|
| 1512 |
"metadata": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1513 |
"execution": {
|
| 1514 |
"iopub.execute_input": "2026-11-18T14:18:47.286775Z",
|
| 1515 |
"iopub.status.busy": "2026-11-18T14:18:47.286723Z",
|
|
@@ -1517,16 +1515,7 @@
|
|
| 1517 |
"shell.execute_reply": "2026-11-18T14:18:47.291731Z"
|
| 1518 |
}
|
| 1519 |
},
|
| 1520 |
-
"outputs": [
|
| 1521 |
-
{
|
| 1522 |
-
"name": "stderr",
|
| 1523 |
-
"output_type": "stream",
|
| 1524 |
-
"text": [
|
| 1525 |
-
"/var/folders/07/25y3wd4n409cr7_j5kh_vnq80000gn/T/ipykernel_73684/2246518365.py:19: Pandas4Warning: The 'verify_integrity' keyword in DataFrame.set_index is deprecated and will be removed in a future version. Directly check the result.index.is_unique instead.\n",
|
| 1526 |
-
" return pd.DataFrame(rows).set_index('fragment_id', verify_integrity=True)\n"
|
| 1527 |
-
]
|
| 1528 |
-
}
|
| 1529 |
-
],
|
| 1530 |
"source": [
|
| 1531 |
"import json\n",
|
| 1532 |
"\n",
|
|
@@ -1546,7 +1535,10 @@
|
|
| 1546 |
" rows.append(dict(fragment_id=task['data']['fragment_id'], source=source,\n",
|
| 1547 |
" correction=correction, task_id=task['id'],\n",
|
| 1548 |
" seconds=annotation['lead_time']))\n",
|
| 1549 |
-
"
|
|
|
|
|
|
|
|
|
|
| 1550 |
"\n",
|
| 1551 |
"\n",
|
| 1552 |
"fiodor, julia = (load_annotations(path) for path in paths.values())\n",
|
|
@@ -1568,9 +1560,13 @@
|
|
| 1568 |
},
|
| 1569 |
{
|
| 1570 |
"cell_type": "code",
|
| 1571 |
-
"execution_count":
|
| 1572 |
"id": "pilot-agreement",
|
| 1573 |
"metadata": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1574 |
"execution": {
|
| 1575 |
"iopub.execute_input": "2026-11-18T14:18:47.293010Z",
|
| 1576 |
"iopub.status.busy": "2026-11-18T14:18:47.292931Z",
|
|
@@ -1683,9 +1679,13 @@
|
|
| 1683 |
},
|
| 1684 |
{
|
| 1685 |
"cell_type": "code",
|
| 1686 |
-
"execution_count":
|
| 1687 |
"id": "pilot-export",
|
| 1688 |
"metadata": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1689 |
"execution": {
|
| 1690 |
"iopub.execute_input": "2026-11-18T14:18:47.300218Z",
|
| 1691 |
"iopub.status.busy": "2026-11-18T14:18:47.300148Z",
|
|
|
|
| 45 |
},
|
| 46 |
{
|
| 47 |
"cell_type": "code",
|
| 48 |
+
"execution_count": 51,
|
| 49 |
"id": "text-dependencies",
|
| 50 |
"metadata": {
|
| 51 |
"ExecuteTime": {
|
| 52 |
+
"end_time": "2026-11-18T14:21:20.007740Z",
|
| 53 |
+
"start_time": "2026-11-18T14:21:19.627668Z"
|
| 54 |
},
|
| 55 |
"execution": {
|
| 56 |
"iopub.execute_input": "2026-11-18T14:18:45.517951Z",
|
|
|
|
| 64 |
"name": "stdout",
|
| 65 |
"output_type": "stream",
|
| 66 |
"text": [
|
| 67 |
+
"Все зависимости уже установлены в подходящих версиях.\n"
|
| 68 |
]
|
| 69 |
}
|
| 70 |
],
|
|
|
|
| 92 |
},
|
| 93 |
{
|
| 94 |
"cell_type": "code",
|
| 95 |
+
"execution_count": 52,
|
| 96 |
"id": "text-download",
|
| 97 |
"metadata": {
|
| 98 |
"ExecuteTime": {
|
| 99 |
+
"end_time": "2026-11-18T14:21:20.614805Z",
|
| 100 |
+
"start_time": "2026-11-18T14:21:20.009341Z"
|
| 101 |
},
|
| 102 |
"execution": {
|
| 103 |
"iopub.execute_input": "2026-11-18T14:18:45.794088Z",
|
|
|
|
| 111 |
"name": "stdout",
|
| 112 |
"output_type": "stream",
|
| 113 |
"text": [
|
| 114 |
+
"RuSpellGold уже скачан.\n",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
"Записей: 1711\n"
|
| 116 |
]
|
| 117 |
},
|
|
|
|
| 221 |
},
|
| 222 |
{
|
| 223 |
"cell_type": "code",
|
| 224 |
+
"execution_count": 53,
|
| 225 |
"id": "eda-imports",
|
| 226 |
"metadata": {
|
| 227 |
"ExecuteTime": {
|
| 228 |
+
"end_time": "2026-11-18T14:21:20.668356Z",
|
| 229 |
+
"start_time": "2026-11-18T14:21:20.640535Z"
|
| 230 |
},
|
| 231 |
"execution": {
|
| 232 |
"iopub.execute_input": "2026-11-18T14:18:46.349895Z",
|
|
|
|
| 278 |
},
|
| 279 |
{
|
| 280 |
"cell_type": "code",
|
| 281 |
+
"execution_count": 54,
|
| 282 |
"id": "eda-quality",
|
| 283 |
"metadata": {
|
| 284 |
"ExecuteTime": {
|
| 285 |
+
"end_time": "2026-11-18T14:21:20.700593Z",
|
| 286 |
+
"start_time": "2026-11-18T14:21:20.670072Z"
|
| 287 |
},
|
| 288 |
"execution": {
|
| 289 |
"iopub.execute_input": "2026-11-18T14:18:46.542790Z",
|
|
|
|
| 452 |
},
|
| 453 |
{
|
| 454 |
"cell_type": "code",
|
| 455 |
+
"execution_count": 55,
|
| 456 |
"id": "eda-normalize",
|
| 457 |
"metadata": {
|
| 458 |
"ExecuteTime": {
|
| 459 |
+
"end_time": "2026-11-18T14:21:20.722340Z",
|
| 460 |
+
"start_time": "2026-11-18T14:21:20.711378Z"
|
| 461 |
},
|
| 462 |
"execution": {
|
| 463 |
"iopub.execute_input": "2026-11-18T14:18:46.557386Z",
|
|
|
|
| 486 |
},
|
| 487 |
{
|
| 488 |
"cell_type": "code",
|
| 489 |
+
"execution_count": 56,
|
| 490 |
"id": "eda-domains",
|
| 491 |
"metadata": {
|
| 492 |
"ExecuteTime": {
|
| 493 |
+
"end_time": "2026-11-18T14:21:20.800278Z",
|
| 494 |
+
"start_time": "2026-11-18T14:21:20.724731Z"
|
| 495 |
},
|
| 496 |
"execution": {
|
| 497 |
"iopub.execute_input": "2026-11-18T14:18:46.560352Z",
|
|
|
|
| 546 |
},
|
| 547 |
{
|
| 548 |
"cell_type": "code",
|
| 549 |
+
"execution_count": 57,
|
| 550 |
"id": "eda-length-stats",
|
| 551 |
"metadata": {
|
| 552 |
"ExecuteTime": {
|
| 553 |
+
"end_time": "2026-11-18T14:21:20.823495Z",
|
| 554 |
+
"start_time": "2026-11-18T14:21:20.806289Z"
|
| 555 |
},
|
| 556 |
"execution": {
|
| 557 |
"iopub.execute_input": "2026-11-18T14:18:46.633971Z",
|
|
|
|
| 655 |
},
|
| 656 |
{
|
| 657 |
"cell_type": "code",
|
| 658 |
+
"execution_count": 58,
|
| 659 |
"id": "eda-length-plots",
|
| 660 |
"metadata": {
|
| 661 |
"ExecuteTime": {
|
| 662 |
+
"end_time": "2026-11-18T14:21:20.979100Z",
|
| 663 |
+
"start_time": "2026-11-18T14:21:20.829965Z"
|
| 664 |
},
|
| 665 |
"execution": {
|
| 666 |
"iopub.execute_input": "2026-11-18T14:18:46.645291Z",
|
|
|
|
| 717 |
},
|
| 718 |
{
|
| 719 |
"cell_type": "code",
|
| 720 |
+
"execution_count": 59,
|
| 721 |
"id": "eda-domain-lengths",
|
| 722 |
"metadata": {
|
| 723 |
"ExecuteTime": {
|
| 724 |
+
"end_time": "2026-11-18T14:21:21.108023Z",
|
| 725 |
+
"start_time": "2026-11-18T14:21:20.981271Z"
|
| 726 |
},
|
| 727 |
"execution": {
|
| 728 |
"iopub.execute_input": "2026-11-18T14:18:46.771368Z",
|
|
|
|
| 844 |
},
|
| 845 |
{
|
| 846 |
"cell_type": "code",
|
| 847 |
+
"execution_count": 60,
|
| 848 |
"id": "eda-features",
|
| 849 |
"metadata": {
|
| 850 |
"ExecuteTime": {
|
| 851 |
+
"end_time": "2026-11-18T14:21:21.151833Z",
|
| 852 |
+
"start_time": "2026-11-18T14:21:21.114924Z"
|
| 853 |
},
|
| 854 |
"execution": {
|
| 855 |
"iopub.execute_input": "2026-11-18T14:18:46.835055Z",
|
|
|
|
| 944 |
},
|
| 945 |
{
|
| 946 |
"cell_type": "code",
|
| 947 |
+
"execution_count": 61,
|
| 948 |
"id": "eda-changes",
|
| 949 |
"metadata": {
|
| 950 |
"ExecuteTime": {
|
| 951 |
+
"end_time": "2026-11-18T14:21:21.328172Z",
|
| 952 |
+
"start_time": "2026-11-18T14:21:21.160416Z"
|
| 953 |
},
|
| 954 |
"execution": {
|
| 955 |
"iopub.execute_input": "2026-11-18T14:18:46.844849Z",
|
|
|
|
| 1025 |
},
|
| 1026 |
{
|
| 1027 |
"cell_type": "code",
|
| 1028 |
+
"execution_count": 62,
|
| 1029 |
"id": "eda-domain-changes",
|
| 1030 |
"metadata": {
|
| 1031 |
"ExecuteTime": {
|
| 1032 |
+
"end_time": "2026-11-18T14:21:21.437861Z",
|
| 1033 |
+
"start_time": "2026-11-18T14:21:21.336010Z"
|
| 1034 |
},
|
| 1035 |
"execution": {
|
| 1036 |
"iopub.execute_input": "2026-11-18T14:18:46.984958Z",
|
|
|
|
| 1086 |
},
|
| 1087 |
{
|
| 1088 |
"cell_type": "code",
|
| 1089 |
+
"execution_count": 63,
|
| 1090 |
"id": "eda-distance",
|
| 1091 |
"metadata": {
|
| 1092 |
"ExecuteTime": {
|
| 1093 |
+
"end_time": "2026-11-18T14:21:21.576899Z",
|
| 1094 |
+
"start_time": "2026-11-18T14:21:21.440089Z"
|
| 1095 |
},
|
| 1096 |
"execution": {
|
| 1097 |
"iopub.execute_input": "2026-11-18T14:18:47.069408Z",
|
|
|
|
| 1218 |
},
|
| 1219 |
{
|
| 1220 |
"cell_type": "code",
|
| 1221 |
+
"execution_count": 64,
|
| 1222 |
"id": "eda-operations",
|
| 1223 |
"metadata": {
|
| 1224 |
"ExecuteTime": {
|
| 1225 |
+
"end_time": "2026-11-18T14:21:21.734873Z",
|
| 1226 |
+
"start_time": "2026-11-18T14:21:21.578871Z"
|
| 1227 |
},
|
| 1228 |
"execution": {
|
| 1229 |
"iopub.execute_input": "2026-11-18T14:18:47.171025Z",
|
|
|
|
| 1341 |
},
|
| 1342 |
{
|
| 1343 |
"cell_type": "code",
|
| 1344 |
+
"execution_count": 65,
|
| 1345 |
"id": "eda-examples",
|
| 1346 |
"metadata": {
|
| 1347 |
"ExecuteTime": {
|
| 1348 |
+
"end_time": "2026-11-18T14:21:21.771708Z",
|
| 1349 |
+
"start_time": "2026-11-18T14:21:21.741134Z"
|
| 1350 |
},
|
| 1351 |
"execution": {
|
| 1352 |
"iopub.execute_input": "2026-11-18T14:18:47.280695Z",
|
|
|
|
| 1501 |
},
|
| 1502 |
{
|
| 1503 |
"cell_type": "code",
|
| 1504 |
+
"execution_count": 66,
|
| 1505 |
"id": "pilot-load",
|
| 1506 |
"metadata": {
|
| 1507 |
+
"ExecuteTime": {
|
| 1508 |
+
"end_time": "2026-11-18T14:21:21.789566Z",
|
| 1509 |
+
"start_time": "2026-11-18T14:21:21.774076Z"
|
| 1510 |
+
},
|
| 1511 |
"execution": {
|
| 1512 |
"iopub.execute_input": "2026-11-18T14:18:47.286775Z",
|
| 1513 |
"iopub.status.busy": "2026-11-18T14:18:47.286723Z",
|
|
|
|
| 1515 |
"shell.execute_reply": "2026-11-18T14:18:47.291731Z"
|
| 1516 |
}
|
| 1517 |
},
|
| 1518 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1519 |
"source": [
|
| 1520 |
"import json\n",
|
| 1521 |
"\n",
|
|
|
|
| 1535 |
" rows.append(dict(fragment_id=task['data']['fragment_id'], source=source,\n",
|
| 1536 |
" correction=correction, task_id=task['id'],\n",
|
| 1537 |
" seconds=annotation['lead_time']))\n",
|
| 1538 |
+
" annotations = pd.DataFrame(rows).set_index('fragment_id')\n",
|
| 1539 |
+
" if not annotations.index.is_unique:\n",
|
| 1540 |
+
" raise ValueError(f'Повторяющиеся fragment_id в {path.name}')\n",
|
| 1541 |
+
" return annotations\n",
|
| 1542 |
"\n",
|
| 1543 |
"\n",
|
| 1544 |
"fiodor, julia = (load_annotations(path) for path in paths.values())\n",
|
|
|
|
| 1560 |
},
|
| 1561 |
{
|
| 1562 |
"cell_type": "code",
|
| 1563 |
+
"execution_count": 67,
|
| 1564 |
"id": "pilot-agreement",
|
| 1565 |
"metadata": {
|
| 1566 |
+
"ExecuteTime": {
|
| 1567 |
+
"end_time": "2026-11-18T14:21:21.830630Z",
|
| 1568 |
+
"start_time": "2026-11-18T14:21:21.791872Z"
|
| 1569 |
+
},
|
| 1570 |
"execution": {
|
| 1571 |
"iopub.execute_input": "2026-11-18T14:18:47.293010Z",
|
| 1572 |
"iopub.status.busy": "2026-11-18T14:18:47.292931Z",
|
|
|
|
| 1679 |
},
|
| 1680 |
{
|
| 1681 |
"cell_type": "code",
|
| 1682 |
+
"execution_count": 68,
|
| 1683 |
"id": "pilot-export",
|
| 1684 |
"metadata": {
|
| 1685 |
+
"ExecuteTime": {
|
| 1686 |
+
"end_time": "2026-11-18T14:21:21.852019Z",
|
| 1687 |
+
"start_time": "2026-11-18T14:21:21.834254Z"
|
| 1688 |
+
},
|
| 1689 |
"execution": {
|
| 1690 |
"iopub.execute_input": "2026-11-18T14:18:47.300218Z",
|
| 1691 |
"iopub.status.busy": "2026-11-18T14:18:47.300148Z",
|
text_annotation_submission_2026-11-18.zip
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44663e158f941b1819d6d135424fce49b0842aaf5b715a6d658ce59d7e4eedee
|
| 3 |
+
size 513465
|