Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

pandas-dev/pandas-compat

pandas-compat

THIS LIBRARY IS NO LONGER IN DEVELOPMENT OR MAINTAINED

Build Status Version Status

pandas-compat is a package providing an API compatibility across versions to downstream libraries that use pandas.

This compatibility layer requires pandas >= 0.17.0.

Installation

Install latest release version via conda

$ conda install pandas-compat --channel conda-forge

Install latest release version via pip

$ pip install pandas-compat

Install latest development version

$ pip install git+https://github.com/pandas-compat/pandas-compat.git

Usage

In your downstream library, you can use this pattern:

import pandas_compat as pdc

pdc.is_datetime64tz_dtype(...)
pdc.infer_dtype(...)