- python: 3
- pandas: 1.3.3
- openpyxl: 3.0.9 Other versions of python and libraries can also be attempted.
- The format of input dataframe is a table of numerical values:
- No
NaN
or invalid values. - All columns have the same number of rows.
- No
- The column names are
A_DATA
,A_DATA
,A_DATA
, etc. If other column names are used,main.py
needs updates correspondingly.
- Run
pip install -r requirements.txt
in command line to install the dependencies. - Run an example:
python main.py -i Book1.xlsx -o output.xlsx
in command line, whereBook1.xlsx
is the input path, andoutput.xlsx
is the output file path.