File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ Removal of prior version deprecations/changes
229
229
- Enforced disallowing a string column label into ``times `` in :meth: `DataFrame.ewm ` (:issue: `43265 `)
230
230
- Removed setting Categorical._codes directly (:issue: `41429 `)
231
231
- Enforced :meth: `Rolling.count ` with ``min_periods=None `` to default to the size of the window (:issue: `31302 `)
232
+ - Renamed ``fname `` to ``path `` in :meth: `DataFrame.to_parquet `, :meth: `DataFrame.to_stata ` and :meth: `DataFrame.to_feather ` (:issue: `30338 `)
232
233
- Enforced the ``display.max_colwidth `` option to not accept negative integers (:issue: `31569 `)
233
234
- Removed the ``display.column_space `` option in favor of ``df.to_string(col_space=...) `` (:issue: `47280 `)
234
235
- Removed the deprecated method ``mad `` from pandas classes (:issue: `11787 `)
Original file line number Diff line number Diff line change @@ -2550,7 +2550,6 @@ def _from_arrays(
2550
2550
storage_options = _shared_docs ["storage_options" ],
2551
2551
compression_options = _shared_docs ["compression_options" ] % "path" ,
2552
2552
)
2553
- @deprecate_kwarg (old_arg_name = "fname" , new_arg_name = "path" )
2554
2553
def to_stata (
2555
2554
self ,
2556
2555
path : FilePath | WriteBuffer [bytes ],
@@ -2710,7 +2709,6 @@ def to_stata(
2710
2709
)
2711
2710
writer .write_file ()
2712
2711
2713
- @deprecate_kwarg (old_arg_name = "fname" , new_arg_name = "path" )
2714
2712
def to_feather (self , path : FilePath | WriteBuffer [bytes ], ** kwargs ) -> None :
2715
2713
"""
2716
2714
Write a DataFrame to the binary Feather format.
@@ -2820,7 +2818,6 @@ def to_parquet(
2820
2818
...
2821
2819
2822
2820
@doc (storage_options = _shared_docs ["storage_options" ])
2823
- @deprecate_kwarg (old_arg_name = "fname" , new_arg_name = "path" )
2824
2821
def to_parquet (
2825
2822
self ,
2826
2823
path : FilePath | WriteBuffer [bytes ] | None = None ,
You can’t perform that action at this time.
0 commit comments