We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac2a06 commit ae46330Copy full SHA for ae46330
pandas/core/apply.py
@@ -1830,12 +1830,12 @@ def warn_alias_replacement(
1830
full_alias = alias
1831
else:
1832
full_alias = f"{type(obj).__name__}.{alias}"
1833
- alias = f"'{alias}'"
+ alias = f'"{alias}"'
1834
warnings.warn(
1835
f"The provided callable {func} is currently using "
1836
f"{full_alias}. In a future version of pandas, "
1837
f"the provided callable will be used directly. To keep current "
1838
- f"behavior pass {alias} instead.",
+ f"behavior pass the string {alias} instead.",
1839
category=FutureWarning,
1840
stacklevel=find_stack_level(),
1841
)
0 commit comments