File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
pandas/tests/extension/json Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,12 @@ def __ne__(self, other):
152152 def __array__ (self , dtype = None , copy = None ):
153153 if copy is False :
154154 warnings .warn (
155- "Starting on NumPy 2.0, the behavior of the 'copy' keyword has changed "
156- "and passing 'copy=False' raises an error when a zero-copy NumPy array "
157- "is not possible, Pandas will follow this behavior starting with "
158- "version 3.0. This conversion to NumPy requires a copy, but "
159- "'copy=False' was passed. Consider using 'np.asarray(..)' instead." ,
155+ "Starting with NumPy 2.0, the behavior of the 'copy' keyword has "
156+ "changed and passing 'copy=False' raises an error when returning "
157+ "a zero-copy NumPy array is not possible. pandas will follow "
158+ "this behavior starting with pandas 3.0.\n This conversion to "
159+ "NumPy requires a copy, but 'copy=False' was passed. Consider "
160+ "using 'np.asarray(..)' instead." ,
160161 FutureWarning ,
161162 stacklevel = find_stack_level (),
162163 )
You can’t perform that action at this time.
0 commit comments