Skip to main content

Get the spreadsheet representation of a pandas data frame.

Project description

SpreadPandas

The Spreadsheet class is meant to identify which cells of a spreadsheet would be occupied by a pandas data frame based on its dimensions. The correspondence is carried out for the whole data frame and its sub elements, like the header, index and body.

It follows a simple example. Consider the following table to be a 1x2 pandas data frame:

Name Type
1 Python Programming Language
2 Word Text Editor

By populating the sheet from the top left and keeping the index, the table would occupy the cells ["B1", "C1", "A2", "B2", "C2", "A3", "B3", "C3"]. In particular, ["B1", "C1"] would be the header, ["A2", "A3"] the index and ["B2", "C2", "B3", "C3"] the body.

Under construction...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spreadpandas-0.0.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

spreadpandas-0.0.1-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page