We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5fdf0 commit 417a5e7Copy full SHA for 417a5e7
pandas/core/apply.py
@@ -1863,12 +1863,12 @@ def warn_alias_replacement(
1863
full_alias = alias
1864
else:
1865
full_alias = f"{type(obj).__name__}.{alias}"
1866
- alias = f"'{alias}'"
+ alias = f'"{alias}"'
1867
warnings.warn(
1868
f"The provided callable {func} is currently using "
1869
f"{full_alias}. In a future version of pandas, "
1870
f"the provided callable will be used directly. To keep current "
1871
- f"behavior pass {alias} instead.",
+ f"behavior pass the string {alias} instead.",
1872
category=FutureWarning,
1873
stacklevel=find_stack_level(),
1874
)
0 commit comments