Skip to main content

Show data types for pandas data frames in terminal and notebooks

Project description

pdtypes

Show data types for pandas data frames in terminal and notebooks by monkey-patching pandas formatters

Turn this into
terminal_without_pdtypes terminal_with_pdtypes
terminal_without_pdtypes_gf terminal_with_pdtypes_gf
notebook_without_pdtypes notebook_with_pdtypes
notebook_without_pdtypes_gf notebook_with_pdtypes_gf

Installation

pip install -U pdtypes

Usage

# Patching enabled by default
import pdtypes

To disable patching (get everything back to what it was)

import pdtypes

# ...
pdtypes.unpatch()

# To patch again
pdtypes.patch()

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

pdtypes-0.2.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

pdtypes-0.2.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pdtypes-0.2.3.tar.gz.

File metadata

  • Download URL: pdtypes-0.2.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure

File hashes

Hashes for pdtypes-0.2.3.tar.gz
Algorithm Hash digest
SHA256 894810de7acf4afdc8d6804ffebc9974f856fd210fe3c0df7d3ce7e322ac63ac
MD5 3f67335c7c06fbc73ee88f9c84036eef
BLAKE2b-256 d19bb478de3f8d80368abf9de96b450dfe0d716386e55a998821e57f6aada223

See more details on using hashes here.

File details

Details for the file pdtypes-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: pdtypes-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1015-azure

File hashes

Hashes for pdtypes-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c222e148a143014f017974d1afe96902e48a332f63af1d211d727e08165191e
MD5 b92fdce88300ba6b8a78ce8071c5d65b
BLAKE2b-256 961a1038852725f8ba3bcac3fbcdebe1b285b87524ef9967628309a92067dc89

See more details on using hashes here.

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