Skip to main content

DataFrame / Series in your browser

#Based on pypi.org/project/any-iter-to-html-table/
from a_pandas_ex_html_view import pd_add_html_view
import pandas as pd
pd_add_html_view() #this adds to new methods to pandas
df = pd.read_csv("https://github.com/pandas-dev/pandas/raw/main/doc/data/titanic.csv")
df.ds_html_view() #for whole DataFrame
df.Name.ds_html_view() #for Series

For DataFrames with MultiIndex

If you create your MultiIndexed DataFrame using a-pandas-ex-plode-tool · PyPI

a_pandas_ex_html_view will format the DataFrame in the prettiest way possible :)

from a_pandas_ex_plode_tool import pd_add_explode_tools
pd_add_explode_tools()
data = {
    "glossary": {
        "title": "example glossary",
        "GlossDiv": {
            "title": "S",
            "GlossList": {
                "GlossEntry": {
                    "ID": "SGML",
                    "SortAs": "SGML",
                    "GlossTerm": "Standard Generalized Markup Language",
                    "Acronym": "SGML",
                    "Abbrev": "ISO 8879:1986",
                    "GlossDef": {
                        "para": "A meta-markup language, used to create markup languages such as DocBook.",
                        "GlossSeeAlso": ["GML", "XML"],
                    },
                    "GlossSee": "markup",
                }
            },
        },
    }
}
df = pd.Q_AnyNestedIterable_2df(data)
df.ds_html_view()   
#if you don't want to open it in browser, just save it to your HDD:
df.ds_html_view('f:\\testhtml.html') 

Metadata

Release files for a-pandas-ex-html-view 0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for a-pandas-ex-html-view 0.11
File Size Uploaded Provenance Actions
a_pandas_ex_html_view-0.11.tar.gz 11.4 kB Without provenance Details for a_pandas_ex_html_view-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for a-pandas-ex-html-view 0.11
File Interpreter ABI Platform Actions
a_pandas_ex_html_view-0.11-py3-none-any.whl Python 3 none any Details for a_pandas_ex_html_view-0.11-py3-none-any.whl

Total release size: 24.4 kB

Release files / a_pandas_ex_html_view-0.11.tar.gz

Download URL a_pandas_ex_html_view-0.11.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0c1adcbe75d4ddd1ed34ba70c38b5e78ac564be013b1cbabd6deb6eeed44d7e7
BLAKE2b-256 checksum
How to use checksums
56919f67638f8de594a6c4f671450884df0fcf7c92b9fd3bcd94a4efec4d3d66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / a_pandas_ex_html_view-0.11-py3-none-any.whl

Download URL a_pandas_ex_html_view-0.11-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c72c8ad64798a97cdf97e696446e893f65f46ac1f443b5ff2b9ce5d8733e89b2
BLAKE2b-256 checksum
How to use checksums
5e8a7d862a0e1ddc1d23088186535087f441b577cf0f31b2ecadabf1703fd1d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for a-pandas-ex-html-view 0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page