Skip to content

May I know the space complexity and the time complexity of the code? #1

@cheukhin1024

Description

@cheukhin1024

Are they all O( C x R)?

C: number of columns
R: number of rows

I used your code to transpose a spark data frame and it works, but it takes about 17 hours to transpose one 1000 columns x 252 rows delta table (all data are float data type).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions