API: clean-up top-level namespace (original) (raw)
Triggered by #13785, I looked at the top level namespace, and I was wondering if the following functions are needed:
pd.Exprpd.pnow(): returns the current date as a Period with specified freq (API: why are we importing pandas.tseries.period.pnow into the pd namespace? #12641)pd.info()pd.groupby()match: "Compute locations of to_match into values" (imported fromcore/api.pyfrom\core\algorithms.pytogether withfactorize,uniqueandvalue_counts, but I don't thinkmatchis used anywhere in the docs)pd.Term
Quite a lot are already deprecated: TimeSeries, SparseTimeSeries, all rolling_ and expanding_ methods
I also learned the existence of pd.lreshape and pd.plot_params .. :-) (but the latter is mentioned in the docs, lreshape not).