Skip to content

CLN: remove the deprecated is_sparse function#65867

Open
natmokval wants to merge 1 commit into
pandas-dev:mainfrom
natmokval:cln-enforce-deprecation-is_sparse
Open

CLN: remove the deprecated is_sparse function#65867
natmokval wants to merge 1 commit into
pandas-dev:mainfrom
natmokval:cln-enforce-deprecation-is_sparse

Conversation

@natmokval

Copy link
Copy Markdown
Contributor

xref #52642

Enforced the deprecation of the is_sparse function.

Comment thread pandas/core/dtypes/common.py
@@ -1027,17 +1027,17 @@ def test_dataframe_to_sql_arrow_dtypes(conn, request):
if conn == "sqlite_adbc_conn":
df = df.drop(columns=["timedelta"])
if pa_version_under14p1:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this suggest its time to bump our pyarrow min-version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about plans to change the minimum required pyarrow version. Can we require a more recent pyarrow version in this particular case to make the test pass, while the general minimum required version is lower?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or maybe we should wait until v4 before enforcing this deprecation?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think we can require a different version in different places. @jorisvandenbossche can comment on if it’s too soon to bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants