Skip to content

ValueError: Index contains duplicate entries, cannot reshape #4

Description

@mr-ads-PL

after put command: df_gdp.pivot(index="year", columns="country", values="gdppc") i got error from title. Can you help me to fix that? i must use encoding= latin-1 on pd.read_csv command in this example otherwise it not working

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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