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

Method to get column names in a FITS table #93

Closed
kbarbary opened this issue Jan 11, 2018 · 0 comments · Fixed by #94
Closed

Method to get column names in a FITS table #93

kbarbary opened this issue Jan 11, 2018 · 0 comments · Fixed by #94

Comments

@kbarbary
Copy link
Member

I was surprised that this doesn't already exist, but it's straightforward to add.

Column names are already determined as part of show(::IO, ::TableHDU) and show(::IO, ::ASCIITableHDU). One would just have to pull out some of that code into a separate function.

colnames might be a good function name for this. DataFrames extends Base.names for this purpose, but the definition of Base.names is, I think, inconsistent with this usage.

@kbarbary kbarbary mentioned this issue Jan 11, 2018
18 tasks
giordano added a commit to giordano/FITSIO.jl that referenced this issue Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant