You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy: if True, make a _copy_ of the data from the underlying RTree instead of
155
+
viewing it directly. Making a copy can be preferred if you'd like to delete
156
+
the index itself to save memory.
157
+
147
158
Returns:
148
159
An Arrow `RecordBatch` with two columns: `indices` and `partition_ids`. `indices` refers to the insertion index of each row and `partition_ids` refers to the partition each row belongs to.
149
160
150
-
The `indices` column is constructed as a zero-copy view on the provided
151
-
index. Therefore, the `indices` array will have type `uint16` if the tree
152
-
has fewer than 16,384 items; otherwise it will have type `uint32`.
161
+
If `copy` is `False`, the `indices` column is constructed as a zero-copy
162
+
view on the provided index. Therefore, the `indices` array will have type
163
+
`uint16` if the tree has fewer than 16,384 items; otherwise it will have
copy: if True, make a _copy_ of the data from the underlying RTree instead of
186
+
viewing it directly. Making a copy can be preferred if you'd like to delete
187
+
the index itself to save memory.
188
+
172
189
Returns:
173
190
An Arrow `RecordBatch` with two columns: `boxes` and `partition_ids`. `boxes` stores the box geometry of each partition and `partition_ids` refers to the partition each row belongs to.
174
191
175
-
The `boxes` column is constructed as a zero-copy view on the internal boxes
176
-
data. The `partition_id` column will be `uint16` type if there are less than
177
-
65,536 partitions; otherwise it will be `uint32` type.
192
+
If `copy` is `False`, the `boxes` column is constructed as a zero-copy view
193
+
on the internal boxes data. The `partition_id` column will be `uint16` type
194
+
if there are less than 65,536 partitions; otherwise it will be `uint32`
0 commit comments