File tree Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Expand file tree Collapse file tree 1 file changed +1
-28
lines changed Original file line number Diff line number Diff line change 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 " ,
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" : {},
You can’t perform that action at this time.
0 commit comments