@@ -108,7 +108,7 @@ def struct(*cols: Column) -> Column:
108108
109109
110110def array (* cols : Union ["ColumnOrName" , Union [list ["ColumnOrName" ], tuple ["ColumnOrName" , ...]]]) -> Column :
111- """Creates a new array column.
111+ r """Creates a new array column.
112112
113113 .. versionadded:: 1.4.0
114114
@@ -164,7 +164,7 @@ def _to_column_expr(col: ColumnOrName) -> Expression:
164164
165165
166166def regexp_replace (str : "ColumnOrName" , pattern : str , replacement : str ) -> Column :
167- """Replace all substrings of the specified string value that match regexp with rep.
167+ r """Replace all substrings of the specified string value that match regexp with rep.
168168
169169 .. versionadded:: 1.5.0
170170
@@ -713,7 +713,7 @@ def asin(col: "ColumnOrName") -> Column:
713713
714714
715715def like (str : "ColumnOrName" , pattern : "ColumnOrName" , escapeChar : Optional ["Column" ] = None ) -> Column :
716- """Returns true if str matches `pattern` with `escape`,
716+ r """Returns true if str matches `pattern` with `escape`,
717717 null if any arguments are null, false otherwise.
718718 The default escape character is the '\'.
719719
@@ -750,7 +750,7 @@ def like(str: "ColumnOrName", pattern: "ColumnOrName", escapeChar: Optional["Col
750750
751751
752752def ilike (str : "ColumnOrName" , pattern : "ColumnOrName" , escapeChar : Optional ["Column" ] = None ) -> Column :
753- """Returns true if str matches `pattern` with `escape` case-insensitively,
753+ r """Returns true if str matches `pattern` with `escape` case-insensitively,
754754 null if any arguments are null, false otherwise.
755755 The default escape character is the '\'.
756756
@@ -2264,7 +2264,7 @@ def pow(col1: Union["ColumnOrName", float], col2: Union["ColumnOrName", float])
22642264
22652265
22662266def printf (format : "ColumnOrName" , * cols : "ColumnOrName" ) -> Column :
2267- """Formats the arguments in printf-style and returns the result as a string column.
2267+ r """Formats the arguments in printf-style and returns the result as a string column.
22682268
22692269 .. versionadded:: 3.5.0
22702270
@@ -2373,7 +2373,7 @@ def rand(seed: Optional[int] = None) -> Column:
23732373
23742374
23752375def regexp (str : "ColumnOrName" , regexp : "ColumnOrName" ) -> Column :
2376- """Returns true if `str` matches the Java regex `regexp`, or false otherwise.
2376+ r """Returns true if `str` matches the Java regex `regexp`, or false otherwise.
23772377
23782378 .. versionadded:: 3.5.0
23792379
@@ -2425,7 +2425,7 @@ def regexp(str: "ColumnOrName", regexp: "ColumnOrName") -> Column:
24252425
24262426
24272427def regexp_count (str : "ColumnOrName" , regexp : "ColumnOrName" ) -> Column :
2428- """Returns a count of the number of times that the Java regex pattern `regexp` is matched
2428+ r """Returns a count of the number of times that the Java regex pattern `regexp` is matched
24292429 in the string `str`.
24302430
24312431 .. versionadded:: 3.5.0
@@ -2456,7 +2456,7 @@ def regexp_count(str: "ColumnOrName", regexp: "ColumnOrName") -> Column:
24562456
24572457
24582458def regexp_extract (str : "ColumnOrName" , pattern : str , idx : int ) -> Column :
2459- """Extract a specific group matched by the Java regex `regexp`, from the specified string column.
2459+ r """Extract a specific group matched by the Java regex `regexp`, from the specified string column.
24602460 If the regex did not match, or the specified group did not match, an empty string is returned.
24612461
24622462 .. versionadded:: 1.5.0
@@ -2496,7 +2496,7 @@ def regexp_extract(str: "ColumnOrName", pattern: str, idx: int) -> Column:
24962496
24972497
24982498def regexp_extract_all (str : "ColumnOrName" , regexp : "ColumnOrName" , idx : Optional [Union [int , Column ]] = None ) -> Column :
2499- """Extract all strings in the `str` that match the Java regex `regexp`
2499+ r """Extract all strings in the `str` that match the Java regex `regexp`
25002500 and corresponding to the regex group index.
25012501
25022502 .. versionadded:: 3.5.0
@@ -2535,7 +2535,7 @@ def regexp_extract_all(str: "ColumnOrName", regexp: "ColumnOrName", idx: Optiona
25352535
25362536
25372537def regexp_like (str : "ColumnOrName" , regexp : "ColumnOrName" ) -> Column :
2538- """Returns true if `str` matches the Java regex `regexp`, or false otherwise.
2538+ r """Returns true if `str` matches the Java regex `regexp`, or false otherwise.
25392539
25402540 .. versionadded:: 3.5.0
25412541
@@ -2587,7 +2587,7 @@ def regexp_like(str: "ColumnOrName", regexp: "ColumnOrName") -> Column:
25872587
25882588
25892589def regexp_substr (str : "ColumnOrName" , regexp : "ColumnOrName" ) -> Column :
2590- """Returns the substring that matches the Java regex `regexp` within the string `str`.
2590+ r """Returns the substring that matches the Java regex `regexp` within the string `str`.
25912591 If the regular expression is not found, the result is null.
25922592
25932593 .. versionadded:: 3.5.0
@@ -4274,7 +4274,7 @@ def acos(col: "ColumnOrName") -> Column:
42744274
42754275
42764276def call_function (funcName : str , * cols : "ColumnOrName" ) -> Column :
4277- """Call a SQL function.
4277+ r """Call a SQL function.
42784278
42794279 .. versionadded:: 3.5.0
42804280
@@ -4851,7 +4851,7 @@ def initcap(col: "ColumnOrName") -> Column:
48514851
48524852
48534853def octet_length (col : "ColumnOrName" ) -> Column :
4854- """Calculates the byte length for the specified string column.
4854+ r """Calculates the byte length for the specified string column.
48554855
48564856 .. versionadded:: 3.3.0
48574857
0 commit comments