Skip to content

Commit 2786841

Browse files
committed
rebuild
work on docs
1 parent e2d9740 commit 2786841

File tree

11 files changed

+1122
-135
lines changed

11 files changed

+1122
-135
lines changed

Examples/Arrow/Arrow.ipynb

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
" TableDescription(\n",
527527
" table_name='',\n",
528528
" column_names=[\n",
529-
" 'v', 'x', 'i', 'g']),\n",
529+
" 'g', 'x', 'v', 'i']),\n",
530530
" free_table_key='')"
531531
]
532532
},
@@ -600,7 +600,7 @@
600600
"text": [
601601
"[\n",
602602
" 'd':\n",
603-
" [ v, x, i, g ]\n",
603+
" [ g, x, v, i ]\n",
604604
" ->\n",
605605
" [ g, i, ngroup, v, x ]\n",
606606
"]\n",
@@ -695,8 +695,8 @@
695695
"text": [
696696
"[\n",
697697
" 'd':\n",
698-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
699-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
698+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
699+
" i: <class 'numpy.bool_'> ]\n",
700700
" ->\n",
701701
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
702702
" ngroup: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
@@ -976,8 +976,8 @@
976976
"text": [
977977
"[\n",
978978
" 'd':\n",
979-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
980-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
979+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
980+
" i: <class 'numpy.bool_'> ]\n",
981981
" ->\n",
982982
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
983983
" ngroup: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
@@ -1147,7 +1147,7 @@
11471147
"text": [
11481148
"[\n",
11491149
" 'd2':\n",
1150-
" [ v, x, ngroup, g ]\n",
1150+
" [ g, x, ngroup, v ]\n",
11511151
" ->\n",
11521152
" [ g, ngroup, row_number, shift_v, v, x ]\n",
11531153
"]\n",
@@ -1217,7 +1217,7 @@
12171217
"text": [
12181218
"[\n",
12191219
" 'd2':\n",
1220-
" [ q, x, i, ngroup, v, g ]\n",
1220+
" [ g, x, v, i, ngroup, q ]\n",
12211221
" ->\n",
12221222
" [ g, i, ngroup, q, row_number, shift_v, v, x ]\n",
12231223
"]\n",
@@ -1296,7 +1296,7 @@
12961296
"text": [
12971297
"[\n",
12981298
" 'd2':\n",
1299-
" [ x, i, ngroup, v, g ]\n",
1299+
" [ g, x, v, i, ngroup ]\n",
13001300
" ->\n",
13011301
" [ g, i, ngroup, row_number, shift_v, v, x ]\n",
13021302
"]\n",
@@ -1336,8 +1336,8 @@
13361336
"text": [
13371337
"[\n",
13381338
" 'd':\n",
1339-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
1340-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
1339+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1340+
" i: <class 'numpy.bool_'> ]\n",
13411341
" ->\n",
13421342
" [ g, i, ngroup, row_number, shift_v, v, x ]\n",
13431343
"]\n",
@@ -1376,9 +1376,8 @@
13761376
"text": [
13771377
"[\n",
13781378
" 'd2':\n",
1379-
" [ x: <class 'str'>, i: <class 'numpy.bool_'>,\n",
1380-
" ngroup: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1381-
" g: <class 'str'> ]\n",
1379+
" [ g: <class 'str'>, x: <class 'str'>, v: <class 'numpy.float64'>,\n",
1380+
" i: <class 'numpy.bool_'>, ngroup: <class 'numpy.int64'> ]\n",
13821381
" ->\n",
13831382
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
13841383
" ngroup: <class 'numpy.int64'>, row_number: <class 'numpy.int64'>,\n",
@@ -1420,7 +1419,7 @@
14201419
"name": "stdout",
14211420
"output_type": "stream",
14221421
"text": [
1423-
"column x self incoming type is <class 'str'>, while X outgoing type is <class 'numpy.int64'>\n"
1422+
"column x self incoming type is <class 'str'>, while b outgoing type is <class 'numpy.int64'>\n"
14241423
]
14251424
}
14261425
],
@@ -1451,9 +1450,8 @@
14511450
"text": [
14521451
"[\n",
14531452
" 'd2':\n",
1454-
" [ x: <class 'numpy.int64'>, i: <class 'numpy.bool_'>,\n",
1455-
" ngroup: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1456-
" g: <class 'str'> ]\n",
1453+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1454+
" i: <class 'numpy.bool_'>, ngroup: <class 'numpy.int64'> ]\n",
14571455
" ->\n",
14581456
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
14591457
" ngroup: <class 'numpy.int64'>, row_number: <class 'numpy.int64'>,\n",
@@ -1496,7 +1494,7 @@
14961494
"text": [
14971495
"[\n",
14981496
" 'd3':\n",
1499-
" [ x, i, ngroup, shift_v, v, g, row_number ]\n",
1497+
" [ g, x, v, i, ngroup, row_number, shift_v ]\n",
15001498
" ->\n",
15011499
" [ g, i, mean_v, ngroup, row_number, shift_v, v, x ]\n",
15021500
"]\n",
@@ -1536,10 +1534,9 @@
15361534
"text": [
15371535
"[\n",
15381536
" 'd3':\n",
1539-
" [ x: <class 'numpy.int64'>, i: <class 'numpy.bool_'>,\n",
1540-
" ngroup: <class 'numpy.int64'>, shift_v: <class 'numpy.float64'>,\n",
1541-
" v: <class 'numpy.float64'>, g: <class 'str'>,\n",
1542-
" row_number: <class 'numpy.int64'> ]\n",
1537+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1538+
" i: <class 'numpy.bool_'>, ngroup: <class 'numpy.int64'>,\n",
1539+
" row_number: <class 'numpy.int64'>, shift_v: <class 'numpy.float64'> ]\n",
15431540
" ->\n",
15441541
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
15451542
" mean_v: <class 'numpy.float64'>, ngroup: <class 'numpy.int64'>,\n",
@@ -1582,8 +1579,8 @@
15821579
"text": [
15831580
"[\n",
15841581
" 'd':\n",
1585-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
1586-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
1582+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1583+
" i: <class 'numpy.bool_'> ]\n",
15871584
" ->\n",
15881585
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
15891586
" mean_v: <class 'numpy.float64'>, ngroup: <class 'numpy.int64'>,\n",
@@ -1625,8 +1622,8 @@
16251622
"text": [
16261623
"[\n",
16271624
" 'd':\n",
1628-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
1629-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
1625+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1626+
" i: <class 'numpy.bool_'> ]\n",
16301627
" ->\n",
16311628
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
16321629
" mean_v: <class 'numpy.float64'>, ngroup: <class 'numpy.int64'>,\n",
@@ -1661,8 +1658,8 @@
16611658
"text": [
16621659
"[\n",
16631660
" 'd':\n",
1664-
" [ v: <class 'numpy.float64'>, x: <class 'numpy.int64'>,\n",
1665-
" i: <class 'numpy.bool_'>, g: <class 'str'> ]\n",
1661+
" [ g: <class 'str'>, x: <class 'numpy.int64'>, v: <class 'numpy.float64'>,\n",
1662+
" i: <class 'numpy.bool_'> ]\n",
16661663
" ->\n",
16671664
" [ g: <class 'str'>, i: <class 'numpy.bool_'>,\n",
16681665
" mean_v: <class 'numpy.float64'>, ngroup: <class 'numpy.int64'>,\n",
@@ -2160,12 +2157,21 @@
21602157
}
21612158
},
21622159
"source": [
2163-
" \n",
2164-
"An example of treating a 2-argument data operation (such as a join) as an arrow can be found [here](https://github.com/WinVector/rquery/blob/master/Examples/Arrow/JoinArrow.md).\n",
21652160
"\n",
2166-
"(Examples of advanced inter-operation between the [`R` `rquery` package](https://github.com/WinVector/rquery/) and the [`Python` `data_algebra` package](https://github.com/WinVector/data_algebra) and `SQL` can be found [here](https://github.com/WinVector/data_algebra/blob/master/Examples/LogisticExample/ScoringExample.md).)\n",
2161+
"An introduction to the <code>data_algebra</code> package can be found [here](https://github.com/WinVector/data_algebra/blob/master/Examples/Introduction/data_algebra_Introduction.md).\n",
2162+
"\n",
2163+
"Some notes on the category theory influence on the design of the <code>data_algebra</code> package can be found [here](https://github.com/WinVector/data_algebra/blob/master/Examples/Arrow/CDesign.md).\n",
2164+
"\n",
2165+
"An example of treating a 2-argument data operation (such as a join) as an arrow can be found [here](https://github.com/WinVector/rquery/blob/master/Examples/Arrow/JoinArrow.md).\n",
21672166
"\n"
21682167
]
2168+
},
2169+
{
2170+
"cell_type": "code",
2171+
"execution_count": null,
2172+
"metadata": {},
2173+
"outputs": [],
2174+
"source": []
21692175
}
21702176
],
21712177
"metadata": {

0 commit comments

Comments
 (0)