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'm trying to plot two quantities against each other but they are sampled at different intervals.
I tried plt.plot(array1, array2[np.floor(array1time / array2interval)]).
However, np.floor returns a float array so I need to cast the result to an integer type first.
This seems a bit silly. Is there any reason why someone would depend on the result of floor() being a floating point number?