Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Compatibility with pandas==2.2.0 #10290

Merged
merged 3 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
skip until, not including..
  • Loading branch information
Tishj committed Jan 22, 2024
commit 5999bc488707d0c5d3c54a1a94186a16dd4bc05d
2 changes: 1 addition & 1 deletion tools/pythonpkg/tests/fast/api/test_native_tz.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_pandas_timestamp_time(self, duckdb_cursor):
duckdb_cursor.execute(f"select TimeRecStart::TIMETZ as tz from '{filename}'").df()

@pytest.mark.skipif(
Version(pa.__version__) <= Version('15.0.0'), reason="pyarrow 14.0.2 'to_pandas' causes a DeprecationWarning"
Version(pa.__version__) < Version('15.0.0'), reason="pyarrow 14.0.2 'to_pandas' causes a DeprecationWarning"
)
def test_arrow_timestamp_timezone(self, duckdb_cursor):
res = duckdb_cursor.execute("SET timezone='America/Los_Angeles';")
Expand Down
2 changes: 1 addition & 1 deletion tools/pythonpkg/tests/fast/arrow/test_filter_pushdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def test_filter_pushdown_integers(self, duckdb_cursor, data_type, value, create_
assert expected == actual

@pytest.mark.skipif(
Version(pa.__version__) <= Version('15.0.0'), reason="pyarrow 14.0.2 'to_pandas' causes a DeprecationWarning"
Version(pa.__version__) < Version('15.0.0'), reason="pyarrow 14.0.2 'to_pandas' causes a DeprecationWarning"
)
def test_9371(self, duckdb_cursor, tmp_path):
import datetime
Expand Down
Loading