Skip to content

Multi-line chain of Dataframe transformations needs to be enclosed in parenthesis #71

@dbtech4

Description

@dbtech4

At least for spark-shell the Spark syntax needs this fixing. Without the parenthesis, the following command on page 421 of the book fails to generate proper Array[...] into the params Dataframe:
val params = new ParamGridBuilder() .addGrid(rForm.formula, Array( ...

SDG_ch24_MLlib_in_Action_fail.txt

SDG_ch24_MLlib_in_Action_fixed.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions