Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Add option for Parquet metadata to disambiguate index names that conflict with column names #16391

Closed
wesm opened this issue May 19, 2017 · 1 comment
Labels
IO Parquet parquet, feather

Comments

@wesm
Copy link
Member

wesm commented May 19, 2017

As an improvement on the Parquet metadata https://github.com/pandas-dev/pandas/blob/master/doc/source/developer.rst, we should provide an option to specify an index as:

{'column_name': $SOME_UNIQUE_IDENTIFIER,
 'name': $INDEX_NAME}

If the metadata contains an index entry that is a string, then it is assumed that the column name in the Parquet file and the index name are the same. That way the current specification is forward compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Parquet parquet, feather
Projects
None yet
Development

No branches or pull requests

2 participants