Skip to content

Commit 6dc0c69

Browse files
committed
MOD: Rename dataset_id and channel_id fields pt2
- Rename fields for Rust structs - Ran `cargo fmt` - Update tests
1 parent 2b7a924 commit 6dc0c69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/quickstart.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@
620620
{
621621
"data": {
622622
"text/plain": [
623-
"dtype([('nwords', 'u1'), ('type', 'u1'), ('dataset_id', '<u2'), ('product_id', '<u4'), ('ts_event', '<u8'), ('order_id', '<u8'), ('price', '<i8'), ('size', '<u4'), ('flags', 'i1'), ('chan_id', 'u1'), ('action', 'S1'), ('side', 'S1'), ('ts_recv', '<u8'), ('ts_in_delta', '<i4'), ('sequence', '<u4')])"
623+
"dtype([('nwords', 'u1'), ('type', 'u1'), ('dataset_id', '<u2'), ('product_id', '<u4'), ('ts_event', '<u8'), ('order_id', '<u8'), ('price', '<i8'), ('size', '<u4'), ('flags', 'i1'), ('channel_id', 'u1'), ('action', 'S1'), ('side', 'S1'), ('ts_recv', '<u8'), ('ts_in_delta', '<i4'), ('sequence', '<u4')])"
624624
]
625625
},
626626
"execution_count": 32,
@@ -1251,7 +1251,7 @@
12511251
" (14, 32, 1, 5482, 1609099225061045683, 647570749727, 321025000000000, 1, 0, 0, b'B', b'A', 1609099225250461359, 92701, 1098),\n",
12521252
" (14, 32, 1, 5482, 1609099225061045683, 647570749776, 320925000000000, 1, 0, 0, b'B', b'A', 1609099225250461359, 92701, 1098),\n",
12531253
" (14, 32, 1, 5482, 1609099225061045683, 647570749868, 320825000000000, 1, 0, 0, b'B', b'A', 1609099225250461359, 92701, 1098)],\n",
1254-
" dtype=[('nwords', 'u1'), ('type', 'u1'), ('dataset_id', '<u2'), ('product_id', '<u4'), ('ts_event', '<u8'), ('order_id', '<u8'), ('price', '<i8'), ('size', '<u4'), ('flags', 'i1'), ('chan_id', 'u1'), ('action', 'S1'), ('side', 'S1'), ('ts_recv', '<u8'), ('ts_in_delta', '<i4'), ('sequence', '<u4')])"
1254+
" dtype=[('nwords', 'u1'), ('type', 'u1'), ('dataset_id', '<u2'), ('product_id', '<u4'), ('ts_event', '<u8'), ('order_id', '<u8'), ('price', '<i8'), ('size', '<u4'), ('flags', 'i1'), ('channel_id', 'u1'), ('action', 'S1'), ('side', 'S1'), ('ts_recv', '<u8'), ('ts_in_delta', '<i4'), ('sequence', '<u4')])"
12551255
]
12561256
},
12571257
"execution_count": 31,

0 commit comments

Comments
 (0)