Skip to content

Commit f85002c

Browse files
authored
CLN: unused import _libs/reduction + remove "noqa" comment in _libs/__init__.py (#33142)
* CLN: Remove unused import * Removed `noqa` comment Co-authored-by: MomIsBestFriend <>
1 parent f542723 commit f85002c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

pandas/_libs/__init__.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
# flake8: noqa
1+
__all__ = [
2+
"NaT",
3+
"NaTType",
4+
"OutOfBoundsDatetime",
5+
"Period",
6+
"Timedelta",
7+
"Timestamp",
8+
"iNaT",
9+
]
210

3-
from .tslibs import (
11+
12+
from pandas._libs.tslibs import (
413
NaT,
514
NaTType,
615
OutOfBoundsDatetime,

pandas/_libs/reduction.pyx

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from copy import copy
2-
from distutils.version import LooseVersion
32

43
from cython import Py_ssize_t
54
from cpython.ref cimport Py_INCREF

0 commit comments

Comments
 (0)