Skip to content

Commit eec40cd

Browse files
committed
add pandas.api.lib
add infer_dtype to pandas.api.lib
1 parent 456e729 commit eec40cd

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

pandas/api/lib/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# flake8: noqa
2+
3+
""" public toolkit API """
4+
5+
from pandas._libs.lib import infer_dtype

pandas/tests/api/test_lib.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# -*- coding: utf-8 -*-
2+
3+
import pytest
4+
import pandas # noqa
5+
6+
7+
@pytest.mark.parametrize('f', ['infer_dtype'])
8+
def test_importable(f):
9+
from pandas.api import lib
10+
e = getattr(lib, f)
11+
assert e is not None

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ def pxd(name):
631631
packages=['pandas',
632632
'pandas.api',
633633
'pandas.api.types',
634+
'pandas.api.lib',
634635
'pandas.compat',
635636
'pandas.compat.numpy',
636637
'pandas.computation',

0 commit comments

Comments
 (0)