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

Consider allowing duplicate column names in reading ASCII tables #5374

Open
taldcroft opened this issue Oct 3, 2016 · 0 comments
Open

Consider allowing duplicate column names in reading ASCII tables #5374

taldcroft opened this issue Oct 3, 2016 · 0 comments

Comments

@taldcroft
Copy link
Member

From discussions in #5373, it might be reasonable to allow duplicate column names in an input table and automatically rename as <colname>_<N>, where N is incremented until the column name is unique.

np.recfromtext uses the _<N> convention while pandas does .<N>. Both packages seem to have buggy / limited implementations in terms of handling conflicts that arise from this auto-renaming.

Implementation effort is not clear at this point.

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

No branches or pull requests

2 participants