Skip to content

Commit

Permalink
update warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed May 23, 2024
1 parent d0b7aa1 commit 87ac3f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/core/internals/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def make_block(
warnings.warn(
# GH#56815
"make_block is deprecated and will be removed in a future version. "
"Use public APIs instead.",
"Use pd.api.internals.create_dataframe_from_blocks or "
"(recommended) higher-level public APIs instead.",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit 87ac3f0

Please sign in to comment.