Skip to content

Commit 87ac3f0

Browse files
committed
update warning message
1 parent d0b7aa1 commit 87ac3f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/internals/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ def make_block(
9191
warnings.warn(
9292
# GH#56815
9393
"make_block is deprecated and will be removed in a future version. "
94-
"Use public APIs instead.",
94+
"Use pd.api.internals.create_dataframe_from_blocks or "
95+
"(recommended) higher-level public APIs instead.",
9596
DeprecationWarning,
9697
stacklevel=2,
9798
)

0 commit comments

Comments
 (0)