Skip to content

Commit eb3d68f

Browse files
committed
chore: pr feedback
1 parent 6441299 commit eb3d68f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/datafusion/dataframe.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@ def with_column(self, name: str, expr: Expr) -> DataFrame:
160160
"""
161161
return DataFrame(self.df.with_column(name, expr.expr))
162162

163-
@deprecated(
164-
"with_column_renamed() is deprecated. Use :py:meth:`~DataFrame.rename` instead"
165-
)
166163
def with_column_renamed(self, old_name: str, new_name: str) -> DataFrame:
167164
r"""Rename one column by applying a new projection.
168165
@@ -189,7 +186,7 @@ def rename(self, mapping: dict[str, str]) -> DataFrame:
189186
into one the following symbols (" or ' or \`).
190187
191188
Args:
192-
mapping (dict[str, str]): mapping of old (key) to new (value) names
189+
mapping: mapping of old (key) to new (value) names
193190
194191
Returns:
195192
DataFrame with one or multiple columns renamed.

0 commit comments

Comments
 (0)