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 votable.parquet as format alias for unified I/O #15471

Open
bsipocz opened this issue Oct 11, 2023 · 2 comments · May be fixed by #16488
Open

ENH: add votable.parquet as format alias for unified I/O #15471

bsipocz opened this issue Oct 11, 2023 · 2 comments · May be fixed by #16488

Comments

@bsipocz
Copy link
Member

bsipocz commented Oct 11, 2023

I think it would be beneficial to enable the sub-formats accepted by write methods to be available for read as well, even when the format is automatically recognized as a top-level one.

The one known example is votable.parquet, but there may be others, too, where reading format='votable works, but votable.parquet doesn't.

>>> from astropy.table import Table
>>> Table.read('astropy/io/votable/tests/data/parquet_binary.xml', format='votable')
>>> Table.read('astropy/io/votable/tests/data/parquet_binary.xml', format='votable.parquet')
@pllim

This comment was marked as off-topic.

@pllim
Copy link
Member

pllim commented May 23, 2024

(oops comment on the issue instead of PR, sorry for the noise here.)

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

Successfully merging a pull request may close this issue.

2 participants