You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Is this strictly necessary? If you want to save the rows of an astropy table, you can already add them with add_data. The entire table can be saved with something like:
data = list()
data.append(t.colnames) # t is the astropy table
data += t.as_array().tolist()
db.add_data(data, tablename)
As long as the column names match, this would work to add the table to the database.
Or is the issue referring to adding a full table as a single entry in the database?
Yeah, it's not necessary. It was suggested by the referee on the astrodbkit
paper and seemed useful but definitely not essential.
On Thu, Oct 13, 2016 at 2:24 PM, David Rodriguez [email protected]
wrote:
Is this strictly necessary? If you want to save the rows of an astropy
table, you can already add them with add_data. The entire table can be
saved with something like:
data = list()
data.append(t.colnames) # t is the astropy table
data += t.as_array().tolist()
db.add_data(data, tablename)
As long as the column names match, this would work to add the table to the
database.
Or is the issue referring to adding a full table as a single entry in the
database?
Possibly related to Issue #20
The text was updated successfully, but these errors were encountered: