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
it should take its types from the data in ar. If ar is a record with x and y fields of different types, the 1's or 0's should have the same types as those fields. (I.e. it should be possible to have uint8 or whatever.)
Also, np.zeros_like for strings returns empty strings, and np.ones_like for strings returns strings with "1" in them.
The text was updated successfully, but these errors were encountered:
Unlike this,
it should take its types from the data in
ar
. Ifar
is a record withx
andy
fields of different types, the 1's or 0's should have the same types as those fields. (I.e. it should be possible to haveuint8
or whatever.)Also,
np.zeros_like
for strings returns empty strings, andnp.ones_like
for strings returns strings with"1"
in them.The text was updated successfully, but these errors were encountered: