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
[SPARK-43709][PS] Remove closed parameter from ps.date_range & enable test
### What changes were proposed in this pull request?
This PR proposes to remove `closed` parameter from `ps.date_range` & enable test. See pandas-dev/pandas#40245 more detail.
### Why are the changes needed?
To support pandas 2.0.0 and above.
### Does this PR introduce _any_ user-facing change?
`closed` parameter will no longer available from `ps.date_range` API.
### How was this patch tested?
Enabling the existing UT.
Closesapache#42389 from itholic/closed_removing.
Authored-by: itholic <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
Copy file name to clipboardExpand all lines: python/docs/source/migration_guide/pyspark_upgrade.rst
+1
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ Upgrading from PySpark 3.5 to 4.0
31
31
* In Spark 4.0, ``Series.mad`` has been removed from pandas API on Spark.
32
32
* In Spark 4.0, ``na_sentinel`` parameter from ``Index.factorize`` and `Series.factorize`` has been removed from pandas API on Spark, use ``use_na_sentinel`` instead.
33
33
* In Spark 4.0, ``inplace`` parameter from ``Categorical.add_categories``, ``Categorical.remove_categories``, ``Categorical.set_categories``, ``Categorical.rename_categories``, ``Categorical.reorder_categories``, ``Categorical.as_ordered``, ``Categorical.as_unordered`` have been removed from pandas API on Spark.
34
+
* In Spark 4.0, ``closed`` parameter from ``ps.date_range`` has been removed from pandas API on Spark.
0 commit comments