I\'m currently working with some fits tables and I\'m having trouble with outputting in Astropy.io.fits. Essentially, I am slicing out a bunch of rows that have data for obj
If you want to stick to using FITS_rec, you can try the following, which seems to be a workaround:
FITS_rec
new_hdu = fits.BinTableHDU.from_columns(hdu_sliced._get_raw_data())