Skip to content

Duplicate column names are not supported #7

Description

@d6y

A CSV with duplicate column names...

Home School, Allocation, Joint School, Allocation

...modelled as: (String, Double, Option[String], Option[Double]) will fail to parse a valid row such as:

Foo, 1,,

...reporting that "Allocation" is not a number. There's some confusion over "Allocation" being required, but optional in the second usage.

Not sure what to do about this. Possibly warn if there are duplicate columns? or support duplicate columns.

@d6y needs to provide a test case to demonstrate this is actually an issue and not a figment of his imagination.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions