Skip to content

feature #58141: Consistent naming conventions for string dtype aliases #61651

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
34 changes: 34 additions & 0 deletions pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,25 @@
# let init-time option registration happen
import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401

# Import the new factory functions
from pandas.core.dtypes.factory import (
boolean,
categorical,
date,
datetime,
decimal,
duration,
floating,
integer,
interval,
list_dtype,
map,
period,
sparse,
string,
struct,
)

from pandas.core.api import (
# dtype
ArrowDtype,
Expand Down Expand Up @@ -281,24 +300,35 @@
"array",
"arrays",
"bdate_range",
"boolean",
"categorical",
"concat",
"crosstab",
"cut",
"date",
"date_range",
"datetime",
"decimal",
"describe_option",
"duration",
"errors",
"eval",
"factorize",
"floating",
"from_dummies",
"get_dummies",
"get_option",
"infer_freq",
"integer",
"interval",
"interval_range",
"io",
"isna",
"isnull",
"json_normalize",
"list_dtype",
"lreshape",
"map",
"melt",
"merge",
"merge_asof",
Expand All @@ -308,6 +338,7 @@
"offsets",
"option_context",
"options",
"period",
"period_range",
"pivot",
"pivot_table",
Expand Down Expand Up @@ -337,6 +368,9 @@
"set_eng_float_format",
"set_option",
"show_versions",
"sparse",
"string",
"struct",
"test",
"testing",
"timedelta_range",
Expand Down
Loading
Loading