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 would be great if one axis could be an integer while the other is a float. Supporting datetime / float axes would be handy too.
Fixing this would involve removing the array cast in
try:
# Sample is an ND-array.
N, D = sample.shape
except (AttributeError, ValueError):
# Sample is a sequence of 1D arrays.
sample = np.atleast_2d(sample).T
N, D = sample.shape`
The text was updated successfully, but these errors were encountered:
Would it be possible to provide an example of the "mixed" input scenario you're describing for clarity? A small code snippet that doesn't work now but that it would be nice if it worked.
dates=np.arange('today', 10, dtype=np.datetime64)
values=np.random.rand(10)
hist, edges=np.histogramdd((dates, values)) # or at least, with explicit edge argumentsassertedges[0].dtype==dates.dtypeassertedges[1].dtype==values.dtype
Right now all the inputs get converted to the same dtype.
It would be great if one axis could be an integer while the other is a float. Supporting datetime / float axes would be handy too.
Fixing this would involve removing the array cast in
The text was updated successfully, but these errors were encountered: