File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -666,10 +666,10 @@ def __array__(
666666 """Correctly construct numpy arrays when passed to `np.asarray()`."""
667667 if copy is False :
668668 warnings .warn (
669- "Starting on NumPy 2.0, the behavior of the 'copy' keyword has changed "
670- "and passing 'copy=False' raises an error when a zero-copy NumPy array "
671- "is not possible, Pandas will follow this behavior starting with "
672- "version 3.0. This conversion to NumPy requires a copy, but "
669+ "Starting with NumPy 2.0, the behavior of the 'copy' keyword has changed "
670+ "and passing 'copy=False' raises an error when returning a zero-copy NumPy array "
671+ "is not possible. pandas will follow this behavior starting with "
672+ "pandas 3.0.\n This conversion to NumPy requires a copy, but "
673673 "'copy=False' was passed. Consider using 'np.asarray(..)' instead." ,
674674 FutureWarning ,
675675 stacklevel = find_stack_level (),
You can’t perform that action at this time.
0 commit comments