get_table_column¶
- get_table_column(table_name, column_name, rows='all')¶
Get data from the specified table.
- Parameters:
- Return type:
- Returns:
the data in the requested column
- Raises:
ValueError – if the column cannot be found in the table
RuntimeError – if the column has unknown type
CAUTION: Numeric data is wrapped in numpy arrays but not copied. Make sure to copy all data before invoking any further MAD-X commands! This is done automatically for you if using libmadx in a remote service (pickle serialization effectively copies the data).