Skip to content

Commit

Permalink
Exclude a not yet implemented pandas op from dataframe tests. (#32066)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalentyn committed Aug 7, 2024
1 parent 0a42afa commit 9b564ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sdks/python/apache_beam/dataframe/pandas_doctests_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@ def test_series_tests(self):
'pandas.core.series.Series': ['ser.iloc[0] = 999'],
},
not_implemented_ok={
'pandas.core.series.Series.case_when': ['*'],
'pandas.core.series.Series.transform': [
# str arg not supported. Tested with np.sum in
# frames_test.py::DeferredFrameTest::test_groupby_transform_sum
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def cythonize(*args, **kwargs):
# Exclude 1.5.0 and 1.5.1 because of
# https://github.com/pandas-dev/pandas/issues/45725
dataframe_dependency = [
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<2.2;python_version>="3.8"',
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<2.3;python_version>="3.8"',
]


Expand Down

0 comments on commit 9b564ef

Please sign in to comment.