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
For AoS and SoA `.to_numpy()` and dependent logic
like `.to_df()`, the lifetime of the temporary copied
variable is only handled by NumPy if we first create
a named variable.
The `to_host()` returned object is a temporary, and
`np.array` using the `__array_interface__` protocol does
not keep it alive automatically unless it is stored
in an actual variable (eg., `tmp`).
0 commit comments