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
I was taking a look into these 2 functions and I am not sure if I really got the difference betweeen them.
Besides the order argument that seems to be lacking in into_shape, it looks like to_shape always creates a CoWarray while into_shape directly creates a copy of the input array. Is this right? I think it would be nice if the difference between these functions could be clearer in docs.
If I don't give the order when calling to_shape will it infer the order from the current array?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was taking a look into these 2 functions and I am not sure if I really got the difference betweeen them.
order
argument that seems to be lacking ininto_shape
, it looks liketo_shape
always creates aCoWarray
whileinto_shape
directly creates a copy of the input array. Is this right? I think it would be nice if the difference between these functions could be clearer in docs.to_shape
will it infer the order from the current array?Beta Was this translation helpful? Give feedback.
All reactions