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
PR #22147 caused several "read-only buffer" errors (latest: #34843). I quickly skimmed that PR, and most changes there have been fixed in the mean-time (either converted back to use ndarray or added const), a few are remaining, like:
array_strptime (and also array_to_timedelta64 -> to_timedelta)
In [4]: arr = np.array(['15/10/2020'], dtype=object)
In [5]: arr.flags.writeable = False
In [6]: pd.to_datetime(arr, format="%d/%m/%Y")
...
ValueError: buffer source array is read-only
and then a few in parsing.pyx, but I suppose those are generally not a problem, if the arrays are coming from out parsing code, they will never be read-only.
PR #22147 caused several "read-only buffer" errors (latest: #34843). I quickly skimmed that PR, and most changes there have been fixed in the mean-time (either converted back to use ndarray or added
const
), a few are remaining, like:array_strptime
(and alsoarray_to_timedelta64
->to_timedelta
)and then a few in parsing.pyx, but I suppose those are generally not a problem, if the arrays are coming from out parsing code, they will never be read-only.
Originally posted by @jorisvandenbossche in #34843 (comment)
The text was updated successfully, but these errors were encountered: