pymapdl icon indicating copy to clipboard operation
pymapdl copied to clipboard

Add `col_header` and `row_header` arguments to `load_table`

Open germa89 opened this issue 8 months ago • 0 comments

I think we should probably take the #3745 PR as example and have the following:

# consider that the column headers are not included in the array, but the rows headers are.
mapdl.load_table('acc_data', acceleration_data, 'time', col_headers=[1, 2, 3, 4])

# consider that the row headers are not included in the array, but the columns headers are.
mapdl.load_table('acc_data', acceleration_data, 'time', row_headers=[10, 20, 30, 40])

# consider that the column header are not included in the array, but the rows headers are.
# Everything in `acceleration_data` is data.
mapdl.load_table('acc_data', acceleration_data, 'time', col_headers=[1, 2, 3, 4], row_headers=[10, 20, 30, 40])

This should build on top of #3745. @kmkoshy this is extra work if you are up for the challenge.

I will convert this comment to a different issue.

Originally posted by @germa89 in #3305

germa89 avatar Feb 17 '25 11:02 germa89