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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pdtypes-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1036-azure

File hashes

Hashes for pdtypes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3377a2ec43554f301bdd64cde016857bb04314dbb847d68bf6ddfa3c90c1f838
MD5 ce7168b06f83be14e93feecd7ec09c74
BLAKE2b-256 feff9e7a6bbbd0e76c0ea30419cf7ef6fb05823ca142a732a4c1e5a0803d99c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pdtypes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1036-azure

File hashes

Hashes for pdtypes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0bbaead6de1c34fc7cf8732b741464567a19d77380cf68790af0e8fa66b643
MD5 ee3b4ad901bdfc80de3136299b0ad3fa
BLAKE2b-256 e0da5efa56a03e2edd2b37192b81efa3b46a57b70708028357f4b334cd05554e

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