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

Uploaded Source

Built Distribution

pdtypes-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdtypes-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-1012-azure

File hashes

Hashes for pdtypes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b8595a5cbd9f1633f6a94230685aaf1d37160844048e26962e224e86229996cb
MD5 5fb8152a4d3973205c10276d87174dfe
BLAKE2b-256 7671ebc79acc8c98a8af0da5e2c3bc975c04998a460d05e16516fb71b3d78c7d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pdtypes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2270a9eba7c148d650cd5b4b18a499e25fd7bd000e854ea4053c4843d412c5d5
MD5 eba215f5aa0b413f917f81f3a17346cd
BLAKE2b-256 b1e7e1ea4f126885ef8cda2fc27b6779e058c14f3d8d3cfcc3176643e7f2808b

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