f64 commited on
Commit
ebb278b
·
1 Parent(s): 092397f
Files changed (1) hide show
  1. {static → ipynb}/test.ipynb +19 -19
{static → ipynb}/test.ipynb RENAMED
@@ -2,7 +2,7 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 2,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
@@ -16,7 +16,7 @@
16
  },
17
  {
18
  "cell_type": "code",
19
- "execution_count": 3,
20
  "metadata": {},
21
  "outputs": [
22
  {
@@ -25,7 +25,7 @@
25
  "text": [
26
  "<>:1: SyntaxWarning: invalid escape sequence '\\M'\n",
27
  "<>:1: SyntaxWarning: invalid escape sequence '\\M'\n",
28
- "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_18228\\1255343956.py:1: SyntaxWarning: invalid escape sequence '\\M'\n",
29
  " path1 = \"N:\\Makarov\\Development\\Python\\Jupiter Notebooks\\Gaziev CSV\\TestData_1504_AB_soloV_gaziev.zip\"\n"
30
  ]
31
  },
@@ -228,7 +228,7 @@
228
  "[12010 rows x 10 columns]"
229
  ]
230
  },
231
- "execution_count": 3,
232
  "metadata": {},
233
  "output_type": "execute_result"
234
  }
@@ -249,7 +249,7 @@
249
  },
250
  {
251
  "cell_type": "code",
252
- "execution_count": 4,
253
  "metadata": {},
254
  "outputs": [
255
  {
@@ -270,7 +270,7 @@
270
  },
271
  {
272
  "cell_type": "code",
273
- "execution_count": 5,
274
  "metadata": {},
275
  "outputs": [
276
  {
@@ -437,7 +437,7 @@
437
  "18 AAA011113 21 392 -205"
438
  ]
439
  },
440
- "execution_count": 5,
441
  "metadata": {},
442
  "output_type": "execute_result"
443
  }
@@ -456,7 +456,7 @@
456
  },
457
  {
458
  "cell_type": "code",
459
- "execution_count": 6,
460
  "metadata": {},
461
  "outputs": [
462
  {
@@ -470,9 +470,9 @@
470
  "name": "stderr",
471
  "output_type": "stream",
472
  "text": [
473
- "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_18228\\1846308829.py:2: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
474
  " print(f\"{set(dgID.apply(len))=}\")\n",
475
- "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_18228\\1846308829.py:4: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
476
  " dgID.apply(len).reset_index()\n"
477
  ]
478
  },
@@ -630,7 +630,7 @@
630
  "19 DDD011113 7"
631
  ]
632
  },
633
- "execution_count": 6,
634
  "metadata": {},
635
  "output_type": "execute_result"
636
  }
@@ -644,7 +644,7 @@
644
  },
645
  {
646
  "cell_type": "code",
647
- "execution_count": 7,
648
  "metadata": {},
649
  "outputs": [
650
  {
@@ -747,7 +747,7 @@
747
  "119 BBB011117 -300 554 -130"
748
  ]
749
  },
750
- "execution_count": 7,
751
  "metadata": {},
752
  "output_type": "execute_result"
753
  }
@@ -766,7 +766,7 @@
766
  },
767
  {
768
  "cell_type": "code",
769
- "execution_count": 15,
770
  "metadata": {},
771
  "outputs": [
772
  {
@@ -781,7 +781,7 @@
781
  " ['-130', '554', '-300']], dtype=object)"
782
  ]
783
  },
784
- "execution_count": 15,
785
  "metadata": {},
786
  "output_type": "execute_result"
787
  }
@@ -799,7 +799,7 @@
799
  "name": "stderr",
800
  "output_type": "stream",
801
  "text": [
802
- "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_18228\\1487317556.py:1: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
803
  " df_packs_reshaped = dgID.apply(lambda df: pd.Series(df[xyz].values[::-1].reshape(1,-1)[0])).reset_index() # правильный порядок\n"
804
  ]
805
  },
@@ -1399,9 +1399,9 @@
1399
  {
1400
  "data": {
1401
  "text/plain": [
1402
- "{'os.getcwd': 'n:\\\\Makarov\\\\Development\\\\HuggingFaceSpacesGit\\\\streamlit\\\\static',\n",
1403
  " 'cpu_count': 6,\n",
1404
- " 'os.listdir': ['test.ipynb', 'text.txt'],\n",
1405
  " 'platform': 'Windows-10-10.0.19044-SP0',\n",
1406
  " 'release': '10',\n",
1407
  " 'node': 'f64-w10',\n",
@@ -1446,7 +1446,7 @@
1446
  ],
1447
  "metadata": {
1448
  "kernelspec": {
1449
- "display_name": "Python 3",
1450
  "language": "python",
1451
  "name": "python3"
1452
  },
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 1,
6
  "metadata": {},
7
  "outputs": [],
8
  "source": [
 
16
  },
17
  {
18
  "cell_type": "code",
19
+ "execution_count": 2,
20
  "metadata": {},
21
  "outputs": [
22
  {
 
25
  "text": [
26
  "<>:1: SyntaxWarning: invalid escape sequence '\\M'\n",
27
  "<>:1: SyntaxWarning: invalid escape sequence '\\M'\n",
28
+ "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_28436\\1255343956.py:1: SyntaxWarning: invalid escape sequence '\\M'\n",
29
  " path1 = \"N:\\Makarov\\Development\\Python\\Jupiter Notebooks\\Gaziev CSV\\TestData_1504_AB_soloV_gaziev.zip\"\n"
30
  ]
31
  },
 
228
  "[12010 rows x 10 columns]"
229
  ]
230
  },
231
+ "execution_count": 2,
232
  "metadata": {},
233
  "output_type": "execute_result"
234
  }
 
249
  },
250
  {
251
  "cell_type": "code",
252
+ "execution_count": 3,
253
  "metadata": {},
254
  "outputs": [
255
  {
 
270
  },
271
  {
272
  "cell_type": "code",
273
+ "execution_count": 4,
274
  "metadata": {},
275
  "outputs": [
276
  {
 
437
  "18 AAA011113 21 392 -205"
438
  ]
439
  },
440
+ "execution_count": 4,
441
  "metadata": {},
442
  "output_type": "execute_result"
443
  }
 
456
  },
457
  {
458
  "cell_type": "code",
459
+ "execution_count": 5,
460
  "metadata": {},
461
  "outputs": [
462
  {
 
470
  "name": "stderr",
471
  "output_type": "stream",
472
  "text": [
473
+ "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_28436\\1846308829.py:2: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
474
  " print(f\"{set(dgID.apply(len))=}\")\n",
475
+ "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_28436\\1846308829.py:4: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
476
  " dgID.apply(len).reset_index()\n"
477
  ]
478
  },
 
630
  "19 DDD011113 7"
631
  ]
632
  },
633
+ "execution_count": 5,
634
  "metadata": {},
635
  "output_type": "execute_result"
636
  }
 
644
  },
645
  {
646
  "cell_type": "code",
647
+ "execution_count": 6,
648
  "metadata": {},
649
  "outputs": [
650
  {
 
747
  "119 BBB011117 -300 554 -130"
748
  ]
749
  },
750
+ "execution_count": 6,
751
  "metadata": {},
752
  "output_type": "execute_result"
753
  }
 
766
  },
767
  {
768
  "cell_type": "code",
769
+ "execution_count": 7,
770
  "metadata": {},
771
  "outputs": [
772
  {
 
781
  " ['-130', '554', '-300']], dtype=object)"
782
  ]
783
  },
784
+ "execution_count": 7,
785
  "metadata": {},
786
  "output_type": "execute_result"
787
  }
 
799
  "name": "stderr",
800
  "output_type": "stream",
801
  "text": [
802
+ "C:\\Users\\f64\\AppData\\Local\\Temp\\ipykernel_28436\\1487317556.py:1: DeprecationWarning: DataFrameGroupBy.apply operated on the grouping columns. This behavior is deprecated, and in a future version of pandas the grouping columns will be excluded from the operation. Either pass `include_groups=False` to exclude the groupings or explicitly select the grouping columns after groupby to silence this warning.\n",
803
  " df_packs_reshaped = dgID.apply(lambda df: pd.Series(df[xyz].values[::-1].reshape(1,-1)[0])).reset_index() # правильный порядок\n"
804
  ]
805
  },
 
1399
  {
1400
  "data": {
1401
  "text/plain": [
1402
+ "{'os.getcwd': 'n:\\\\Makarov\\\\Development\\\\HuggingFaceSpacesGit\\\\streamlit\\\\ipynb',\n",
1403
  " 'cpu_count': 6,\n",
1404
+ " 'os.listdir': ['test.ipynb'],\n",
1405
  " 'platform': 'Windows-10-10.0.19044-SP0',\n",
1406
  " 'release': '10',\n",
1407
  " 'node': 'f64-w10',\n",
 
1446
  ],
1447
  "metadata": {
1448
  "kernelspec": {
1449
+ "display_name": ".venv",
1450
  "language": "python",
1451
  "name": "python3"
1452
  },