You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sparkr.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -263,7 +263,7 @@ In SparkR, we support several kinds of User-Defined Functions:
263
263
##### dapply
264
264
Apply a function to each partition of a `SparkDataFrame`. The function to be applied to each partition of the `SparkDataFrame`
265
265
and should have only one parameter, to which a `data.frame` corresponds to each partition will be passed. The output of function
266
-
should be a `data.frame`. Schema specifies the row format of the resulting a `SparkDataFrame`. It must match to [data types of R function's output fields](#data-type-mapping-between-r-and-spark).
266
+
should be a `data.frame`. Schema specifies the row format of the resulting a `SparkDataFrame`. It must match to [data types](#data-type-mapping-between-r-and-spark) of returned `data.frame`.
267
267
<divdata-lang="r"markdown="1">
268
268
{% highlight r %}
269
269
@@ -311,7 +311,7 @@ head(ldf, 3)
311
311
Apply a function to each group of a `SparkDataFrame`. The function is to be applied to each group of the `SparkDataFrame` and should have only two parameters: grouping key and R `data.frame` corresponding to
312
312
that key. The groups are chosen from `SparkDataFrame`s column(s).
313
313
The output of function should be a `data.frame`. Schema specifies the row format of the resulting
314
-
`SparkDataFrame`. It must represent R function's output schema on the basis of Spark data types. The column names of each output field in the schema are set by user. Bellow data type mapping between R
314
+
`SparkDataFrame`. It must represent R function's output schema on the basis of Spark data types. The column names of the returned `data.frame`are set by user. Below data type mapping between R
0 commit comments