Skip to content

Commit 5b5aff5

Browse files
committed
add comment
Signed-off-by: Nitish Bharambe <[email protected]>
1 parent aa7cabe commit 5b5aff5

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

docs/examples/arrow_example.ipynb

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
" if attributes is not None and meta_attribute not in attributes:\n",
163163
" continue\n",
164164
" if dtype.shape == (3,):\n",
165+
" # The asymmetric attributes are stored as a fixed list array of 3 elements\n",
165166
" pa_dtype = pa.list_(pa.from_numpy_dtype(dtype.base), 3)\n",
166167
" else:\n",
167168
" pa_dtype = pa.from_numpy_dtype(dtype)\n",
@@ -802,34 +803,6 @@
802803
"pa_asym_node_result"
803804
]
804805
},
805-
{
806-
"cell_type": "code",
807-
"execution_count": 14,
808-
"metadata": {},
809-
"outputs": [
810-
{
811-
"data": {
812-
"text/plain": [
813-
"<pyarrow.lib.DoubleArray object at 0x000001C0F99C7AC0>\n",
814-
"[\n",
815-
" 1,\n",
816-
" 0.01,\n",
817-
" 0.011,\n",
818-
" 2,\n",
819-
" 2.5,\n",
820-
" 450\n",
821-
"]"
822-
]
823-
},
824-
"execution_count": 14,
825-
"metadata": {},
826-
"output_type": "execute_result"
827-
}
828-
],
829-
"source": [
830-
"pa.array(asym_load_input[\"p_specified\"].flatten(), type=pa.float64())"
831-
]
832-
},
833806
{
834807
"cell_type": "markdown",
835808
"metadata": {},

0 commit comments

Comments
 (0)