Tables io

From VectorSpaceLab/AREX-Skill · View interactive version

Tables io is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Astropy Table, QTable, unified I/O, FITS, ASCII/ECSV, VOTable, optional file-format integrations, and table/FITS command-line tools.

How to use this skill

Skill file

Tables and I/O Router

Use this sub-skill when a task centers on Astropy tables, file formats, FITS

HDU operations, unified read/write behavior, or table/FITS command-line tools.

Load This When

metadata, grouping, indexing, joining, stacking, or sorting.

pandas/dataframe-like objects through Astropy.

PrimaryHDU, BinTableHDU, HDUList, Header, or FITS verification.

showtable-astropy, or volint are involved.

Route Away When

../wcs-nddata/SKILL.md.

../visualization-convolution/SKILL.md.

../cli-config-data/SKILL.md.

First Actions

  1. Identify the object boundary: in-memory table, FITS HDU/file, text table,

VOTable, or optional backend format.

  1. Prefer QTable when columns should retain Quantity and mixin objects.
  2. Use explicit format= for non-obvious reads/writes; do not rely on file

extension guessing when correctness matters.

  1. For round-tripping units/metadata, prefer ECSV for tables unless the user

requires another format.

  1. For FITS, decide HDU type, extension name/index, memmap mode, verification

policy, and whether the operation may mutate a file.

  1. Use optional dependencies only when the selected format needs them.
  2. Validate with a temporary read/write round-trip or CLI help/tiny-fixture

check.

References

registry, and selected I/O APIs.

ECSV/FITS round-trips, FITS HDU operations, joins, grouping, and optional

format patterns.

format choices and command-line safety.

loss, FITS verification warnings, memmap/lazy loading, optional dependencies,

and CLI mutation hazards.

Safety and Validation

approval and a backup/copy.

them.

Native-Backed Validation Ideas

parser checks.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.