pk4adi.utils¶
@File : utils.py @Contact : Jiang Feng(silencejiang@zju.edu.cn) @License : (C)Copyright 2004-2020, Zhejiang University
Functions¶
|
Pretty display of table. |
Module Contents¶
- print_table(df, floatfmt='.3f', tablefmt='simple')[source]¶
Pretty display of table.
- Parameters:
df (a pandas.DataFrame.) – Dataframe to print.
floatfmt (string.) – Decimal number formatting.
tablefmt (string.) – Table format (e.g. ‘simple’, ‘plain’, ‘html’, ‘latex’, ‘grid’, ‘rst’). For a full list of available formats, please refer to https://pypi.org/project/tabulate/.
- Return type:
Nothing will be returned.
Notes
To be added.