Skip to main content

Show data types for pandas data frames in terminal and notebooks

Reason this release was yanked:

python3.9 should support pandas 2.0.*

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.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pdtypes-0.2.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdtypes-0.2.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for pdtypes-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b24ad785a2d78d8e7e02660abbd4123b23cb79d0b7594840468b77242ce60eb9
MD5 e4963f58b9063595d077f7fca8780860
BLAKE2b-256 02df656ad1ceb9d340829bcb525c70314d09990aa44b5a7b840ee27f7244fd63

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdtypes-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for pdtypes-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5de7b9d08799f5073bf9e545de6d3af53ca5d41b8521f64898ec8b65d5578e0b
MD5 17118b96ed5a39e19492a3a63593b922
BLAKE2b-256 cee1b2e69a13c7e72bbe71cbec32ab60a50456069f51096aa670d767ab4780ff

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