Skip to content

Commit afa1700

Browse files
committed
Formatting decstrings
1 parent 545fbe2 commit afa1700

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

R/pkg/R/functions.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ setMethod("bin",
647647
})
648648

649649
#' @details
650-
#' \code{bit_length}: Calculates the bit length for the specified string column.
650+
#' \code{bit_length}: Calculates the bit length for the specified string column.
651651
#'
652652
#' @rdname column_string_functions
653653
#' @aliases bit_length bit_length,Column-method
@@ -1583,7 +1583,7 @@ setMethod("negate",
15831583
})
15841584

15851585
#' @details
1586-
#' \code{octet_length}: Calculates the byte length for the specified string column.
1586+
#' \code{octet_length}: Calculates the byte length for the specified string column.
15871587
#'
15881588
#' @rdname column_string_functions
15891589
#' @aliases octet_length octet_length,Column-method

python/pyspark/sql/functions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3103,14 +3103,17 @@ def octet_length(col):
31033103
Calculates the byte length for the specified string column.
31043104
31053105
.. versionadded:: 3.3.0
3106+
31063107
Parameters
31073108
----------
31083109
col : :class:`~pyspark.sql.Column` or str
31093110
Source column or strings
3111+
31103112
Returns
31113113
-------
31123114
:class:`~pyspark.sql.Column`
31133115
Byte length of the col
3116+
31143117
Examples
31153118
-------
31163119
>>> from pyspark.sql.functions import octet_length
@@ -3126,14 +3129,17 @@ def bit_length(col):
31263129
Calculates the bit length for the specified string column.
31273130
31283131
.. versionadded:: 3.3.0
3132+
31293133
Parameters
31303134
----------
31313135
col : :class:`~pyspark.sql.Column` or str
31323136
Source column or strings
3137+
31333138
Returns
31343139
-------
31353140
:class:`~pyspark.sql.Column`
31363141
Bit length of the col
3142+
31373143
Examples
31383144
-------
31393145
>>> from pyspark.sql.functions import bit_length

0 commit comments

Comments
 (0)