[SPARK-23157][SQL][FOLLOW-UP] DataFrame -> SparkDataFrame in R comment
Author: Henry Robinson <henry@cloudera.com> Closes #20443 from henryr/SPARK-23157.
This commit is contained in:
parent
9ff1d96f01
commit
f470df2fcf
|
@ -2090,8 +2090,8 @@ setMethod("selectExpr",
|
|||
#'
|
||||
#' @param x a SparkDataFrame.
|
||||
#' @param colName a column name.
|
||||
#' @param col a Column expression (which must refer only to this DataFrame), or an atomic vector in
|
||||
#' the length of 1 as literal value.
|
||||
#' @param col a Column expression (which must refer only to this SparkDataFrame), or an atomic
|
||||
#' vector in the length of 1 as literal value.
|
||||
#' @return A SparkDataFrame with the new column added or the existing column replaced.
|
||||
#' @family SparkDataFrame functions
|
||||
#' @aliases withColumn,SparkDataFrame,character-method
|
||||
|
|
|
@ -1829,7 +1829,7 @@ class DataFrame(object):
|
|||
Returns a new :class:`DataFrame` by adding a column or replacing the
|
||||
existing column that has the same name.
|
||||
|
||||
The column expression must be an expression over this dataframe; attempting to add
|
||||
The column expression must be an expression over this DataFrame; attempting to add
|
||||
a column from some other dataframe will raise an error.
|
||||
|
||||
:param colName: string, name of the new column.
|
||||
|
|
Loading…
Reference in a new issue