Add a short description here!
Project description
pandas-xlsx-tables
Even though you might not like it, Excel isn't going anywhere. And Excel with tables is a lot beter than without: Reference columns by name, warnings when datatypes betwee rows change, no more freeze panes, custom filters or issues when you sort one column but not the other.
Out of the box Pandas does not support reading and writing excel tables, and as the API of pandas is already pretty complex. So instead of adding a feature inside Pandas this separte package provides the required utility functions to read and write between Excel Tables and Pandas DataFrames.
>>> from pandas_xlsx_tables import xlsx_table_to_df
>>> df = xlsx_table_to_df("my_file.xlsx", "Table1")
>>> df
col1 col2
Row
0 1 a
1 2 b
And the reverse process:
>>> from pandas_xlsx_tables import df_to_xlsx_table
>>> df_to_xlsx_table(df, "my_table", header_orientation="diagonal", index=False)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandas-xlsx-tables-0.0.1b0.tar.gz
(31.3 kB
view hashes)
Built Distribution
Close
Hashes for pandas-xlsx-tables-0.0.1b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11421d38dd52e121da67109a3bc432f5805c3e319733571dd8818b63fab7290a |
|
MD5 | fd6d40ee5fece8b221f7046c4f796d24 |
|
BLAKE2b-256 | 9b81f9aa73e721c4e801a92ed8ba3801be96813e4fb27fe7c08e423025a66193 |
Close
Hashes for pandas_xlsx_tables-0.0.1b0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e501afd0872780891a2a59e902fb93108376ae6b6d0e06547c16b68e7a295a |
|
MD5 | 0d876e9869b45dbfbc9fab6b56ce7495 |
|
BLAKE2b-256 | 477194e9d8feb1b3d65c918d27edfb0ead386e0bcb8318b7aaace9ca96099a75 |