Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pd.cut fails on readonly arrays #18773
Code Sample, a copy-pastable example if possible
import pandas as pd import numpy as np bins = np.arange(0, 100, 10) bins.flags.writeable = False pd.cut(np.arange(100), bins)
Should not error.