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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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