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

Uploaded Source

Built Distribution

pdtypes-0.0.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdtypes-0.0.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.11.0-1028-azure

File hashes

Hashes for pdtypes-0.0.2.tar.gz
Algorithm Hash digest
SHA256 580c37d5f7d4dd818f33d7a15a1e463a57c1c90a7f69b52ed2821a7571627894
MD5 a9b145fc5a0ce85c73df35cdace099ce
BLAKE2b-256 6ca3721da8fa3d09956f99d990cf0225dc51f2d5f04593ed6f83a514fc400efa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdtypes-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.11.0-1028-azure

File hashes

Hashes for pdtypes-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fae9a29009aad9a574dceaee4696fb9b192e31188fa012e953a3af18433fa3fc
MD5 814709806903c084e8727661a77d1ba1
BLAKE2b-256 eff197533282b41edcd36a37d8407f5db759024396e9fbd2de18b79cf72ae1a5

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