Explanation
When reading maccor data from a .xlsx file the Cycle from cycler column contains only zeros, which does not match the file.
I believe this is because the _get_column_renamings function in the Maccor(BaseReader) class is mapping the Cycle P column instead of Cycle C
The Cycle P column is in my data, however I'm not even sure what it represents. The Cycle C is the one that contains the cycle number in my data.
Steps to Reproduce
Data file which reproduces the problem
example.xlsx
Code example
from pathlib import Path
import polars as pl
import ionworksdata as iwd
test = iwd.read.time_series(Path('./example.xlsx'))
print( test.select(pl.col('Cycle from cycler')) )
Output
shape: (1, 1)
┌───────────────────┐
│ Cycle from cycler │
│ --- │
│ i64 │
╞═══════════════════╡
│ 0 │
└───────────────────┘
Explanation
When reading maccor data from a .xlsx file the
Cycle from cyclercolumn contains only zeros, which does not match the file.I believe this is because the _get_column_renamings function in the Maccor(BaseReader) class is mapping the
Cycle Pcolumn instead ofCycle CThe
Cycle Pcolumn is in my data, however I'm not even sure what it represents. TheCycle Cis the one that contains the cycle number in my data.Steps to Reproduce
Data file which reproduces the problem
example.xlsx
Code example
Output