|
379 | 379 | `right` should be left as-is, with no suffix. At least one of the |
380 | 380 | values must not be None. |
381 | 381 | copy : bool, default False |
382 | | - If False, avoid copy if possible. |
| 382 | + This keyword is now ignored; changing its value will have no |
| 383 | + impact on the method. |
383 | 384 |
|
384 | | - .. note:: |
385 | | - The `copy` keyword will change behavior in pandas 3.0. |
386 | | - `Copy-on-Write |
387 | | - <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
388 | | - will be enabled by default, which means that all methods with a |
389 | | - `copy` keyword will use a lazy copy mechanism to defer the copy and |
390 | | - ignore the `copy` keyword. The `copy` keyword will be removed in a |
391 | | - future version of pandas. |
| 385 | + .. deprecated:: 3.0.0 |
392 | 386 |
|
393 | | - You can already get the future behavior and improvements through |
394 | | - enabling copy on write ``pd.options.mode.copy_on_write = True`` |
| 387 | + This keyword is ignored and will be removed in pandas 4.0. Since |
| 388 | + pandas 3.0, this method always returns a new object using a lazy |
| 389 | + copy mechanism that defers copies until necessary |
| 390 | + (Copy-on-Write). See the `user guide on Copy-on-Write |
| 391 | + <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
| 392 | + for more details. |
395 | 393 |
|
396 | | - .. deprecated:: 3.0.0 |
397 | 394 | indicator : bool or str, default False |
398 | 395 | If True, adds a column to the output DataFrame called "_merge" with |
399 | 396 | information on the source of each row. The column can be given a different |
@@ -3900,26 +3897,21 @@ def transpose( |
3900 | 3897 | *args : tuple, optional |
3901 | 3898 | Accepted for compatibility with NumPy. |
3902 | 3899 | copy : bool, default False |
3903 | | - Whether to copy the data after transposing, even for DataFrames |
3904 | | - with a single dtype. |
| 3900 | + This keyword is now ignored; changing its value will have no |
| 3901 | + impact on the method. |
3905 | 3902 |
|
3906 | 3903 | Note that a copy is always required for mixed dtype DataFrames, |
3907 | 3904 | or for DataFrames with any extension types. |
3908 | 3905 |
|
3909 | | - .. note:: |
3910 | | - The `copy` keyword will change behavior in pandas 3.0. |
3911 | | - `Copy-on-Write |
3912 | | - <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
3913 | | - will be enabled by default, which means that all methods with a |
3914 | | - `copy` keyword will use a lazy copy mechanism to defer the copy and |
3915 | | - ignore the `copy` keyword. The `copy` keyword will be removed in a |
3916 | | - future version of pandas. |
3917 | | -
|
3918 | | - You can already get the future behavior and improvements through |
3919 | | - enabling copy on write ``pd.options.mode.copy_on_write = True`` |
3920 | | -
|
3921 | 3906 | .. deprecated:: 3.0.0 |
3922 | 3907 |
|
| 3908 | + This keyword is ignored and will be removed in pandas 4.0. Since |
| 3909 | + pandas 3.0, this method always returns a new object using a lazy |
| 3910 | + copy mechanism that defers copies until necessary |
| 3911 | + (Copy-on-Write). See the `user guide on Copy-on-Write |
| 3912 | + <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
| 3913 | + for more details. |
| 3914 | +
|
3923 | 3915 | Returns |
3924 | 3916 | ------- |
3925 | 3917 | DataFrame |
@@ -5949,21 +5941,18 @@ def rename( |
5949 | 5941 | Axis to target with ``mapper``. Can be either the axis name |
5950 | 5942 | ('index', 'columns') or number (0, 1). The default is 'index'. |
5951 | 5943 | copy : bool, default False |
5952 | | - Also copy underlying data. |
| 5944 | + This keyword is now ignored; changing its value will have no |
| 5945 | + impact on the method. |
5953 | 5946 |
|
5954 | | - .. note:: |
5955 | | - The `copy` keyword will change behavior in pandas 3.0. |
5956 | | - `Copy-on-Write |
5957 | | - <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
5958 | | - will be enabled by default, which means that all methods with a |
5959 | | - `copy` keyword will use a lazy copy mechanism to defer the copy and |
5960 | | - ignore the `copy` keyword. The `copy` keyword will be removed in a |
5961 | | - future version of pandas. |
| 5947 | + .. deprecated:: 3.0.0 |
5962 | 5948 |
|
5963 | | - You can already get the future behavior and improvements through |
5964 | | - enabling copy on write ``pd.options.mode.copy_on_write = True`` |
| 5949 | + This keyword is ignored and will be removed in pandas 4.0. Since |
| 5950 | + pandas 3.0, this method always returns a new object using a lazy |
| 5951 | + copy mechanism that defers copies until necessary |
| 5952 | + (Copy-on-Write). See the `user guide on Copy-on-Write |
| 5953 | + <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
| 5954 | + for more details. |
5965 | 5955 |
|
5966 | | - .. deprecated:: 3.0.0 |
5967 | 5956 | inplace : bool, default False |
5968 | 5957 | Whether to modify the DataFrame rather than creating a new one. |
5969 | 5958 | If True then value of copy is ignored. |
@@ -13988,22 +13977,18 @@ def to_timestamp( |
13988 | 13977 | axis : {0 or 'index', 1 or 'columns'}, default 0 |
13989 | 13978 | The axis to convert (the index by default). |
13990 | 13979 | copy : bool, default False |
13991 | | - If False then underlying input data is not copied. |
13992 | | -
|
13993 | | - .. note:: |
13994 | | - The `copy` keyword will change behavior in pandas 3.0. |
13995 | | - `Copy-on-Write |
13996 | | - <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
13997 | | - will be enabled by default, which means that all methods with a |
13998 | | - `copy` keyword will use a lazy copy mechanism to defer the copy and |
13999 | | - ignore the `copy` keyword. The `copy` keyword will be removed in a |
14000 | | - future version of pandas. |
14001 | | -
|
14002 | | - You can already get the future behavior and improvements through |
14003 | | - enabling copy on write ``pd.options.mode.copy_on_write = True`` |
| 13980 | + This keyword is now ignored; changing its value will have no |
| 13981 | + impact on the method. |
14004 | 13982 |
|
14005 | 13983 | .. deprecated:: 3.0.0 |
14006 | 13984 |
|
| 13985 | + This keyword is ignored and will be removed in pandas 4.0. Since |
| 13986 | + pandas 3.0, this method always returns a new object using a lazy |
| 13987 | + copy mechanism that defers copies until necessary |
| 13988 | + (Copy-on-Write). See the `user guide on Copy-on-Write |
| 13989 | + <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
| 13990 | + for more details. |
| 13991 | +
|
14007 | 13992 | Returns |
14008 | 13993 | ------- |
14009 | 13994 | DataFrame with DatetimeIndex |
@@ -14078,22 +14063,18 @@ def to_period( |
14078 | 14063 | axis : {0 or 'index', 1 or 'columns'}, default 0 |
14079 | 14064 | The axis to convert (the index by default). |
14080 | 14065 | copy : bool, default False |
14081 | | - If False then underlying input data is not copied. |
14082 | | -
|
14083 | | - .. note:: |
14084 | | - The `copy` keyword will change behavior in pandas 3.0. |
14085 | | - `Copy-on-Write |
14086 | | - <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
14087 | | - will be enabled by default, which means that all methods with a |
14088 | | - `copy` keyword will use a lazy copy mechanism to defer the copy and |
14089 | | - ignore the `copy` keyword. The `copy` keyword will be removed in a |
14090 | | - future version of pandas. |
14091 | | -
|
14092 | | - You can already get the future behavior and improvements through |
14093 | | - enabling copy on write ``pd.options.mode.copy_on_write = True`` |
| 14066 | + This keyword is now ignored; changing its value will have no |
| 14067 | + impact on the method. |
14094 | 14068 |
|
14095 | 14069 | .. deprecated:: 3.0.0 |
14096 | 14070 |
|
| 14071 | + This keyword is ignored and will be removed in pandas 4.0. Since |
| 14072 | + pandas 3.0, this method always returns a new object using a lazy |
| 14073 | + copy mechanism that defers copies until necessary |
| 14074 | + (Copy-on-Write). See the `user guide on Copy-on-Write |
| 14075 | + <https://pandas.pydata.org/docs/dev/user_guide/copy_on_write.html>`__ |
| 14076 | + for more details. |
| 14077 | +
|
14097 | 14078 | Returns |
14098 | 14079 | ------- |
14099 | 14080 | DataFrame |
|
0 commit comments