Skip to content

What is sc? #8

@Chao-Tang

Description

@Chao-Tang

As the title suggests, in the example there were the following code:

rdd = sc.parallelize(data)
rdd = rdd.coalesce(max_partitions)

What is sc? I can't see any import nor assignment before it's been called.

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