Skip to content

pivot #2

@JiayingChen36

Description

@JiayingChen36

movie_user_mat = df_ratings_drop_users.pivot(index='movieId', columns='userId', values='rating').fillna(0)

When I run this code, I get an error: "ValueError: Unstacked DataFrame is too big, causing int32 overflow". So how do you resolve this problem?

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