-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
CLN: remove fastpath & verify_integrity from constructors #20110
Comments
xref #20017, cc @PoppyBagel |
Pushing to the next release if that's OK. |
I added it to 0.24.0 instead of the big pile of "Next major release" |
@jreback, sorry for the delay with it. Could you, please, clarify some points. |
Yep. I'm not sure about deprecating |
I think |
If we deprecate There are a couple of potential workarounds
|
this is a top-level issue to remove the
fastpath
and/orverify_integrity
keyword args from constructors from public interfaces, classes such asCategorical
,Series
, andMultiIndex
. If these are removed all once from a particular class, e.g.Index/MultiIndex
forverify_integrity
, but are still needed for an internal API, then can add an internal constructor_from_fastpath
which can serve instead (e.g. seepandas.core.dtypes.dtype.CategoricalDtype
for an example of this) There may be some re-factoring required to keep things DRY.Most of these will actually need to be deprecated.
Index
(fastpath)Index
(verify_integrity in subclasses)MultiIndex
(verify_integrity)pd.concat/.append
(verify_integrity)Series
(fastpath) -> DEPR: Series constructor fastpath keyword #55466Categorical
(fastpath) -> DEPR: Categorical fastpath #52472The text was updated successfully, but these errors were encountered: