Skip to content

Commit 32bd2ab

Browse files
authored
[BUG] Fix DataFrame no attribute data_description (#1191)
* import `DataDescription` * Simplify a bit * Update CHANGELOG.md
1 parent 598d1a3 commit 32bd2ab

File tree

2 files changed

+3
-16
lines changed

2 files changed

+3
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
- [TST] Compat with macos and window, to fix `FailedHealthCheck` Issue #1181 @Zeroto521
3333
- [INF] Merge two docs CIs (`docs-preview.yml` and `docs.yml`) to one. And add `documentation` pytest mark. PR #1183 @Zeroto521
3434
- [INF] Merge `codecov.yml` (only works for the dev branch pushing event) into `tests.yml` (only works for PR event). PR #1185 @Zeroto521
35+
- [BUG] Import `DataDescription` to fix: `AttributeError: 'DataFrame' object has no attribute 'data_description'`. PR #1191 @Zeroto521
3536

3637
## [v0.23.1] - 2022-05-03
3738

janitor/accessors/__init__.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
"""Miscellaneous mathematical operators.
1+
"""Miscellaneous mathematical operators."""
22

3-
Lazy loading used here to speed up imports.
4-
"""
5-
6-
import warnings
7-
from typing import Tuple
8-
9-
10-
import lazy_loader as lazy
11-
12-
scipy_special = lazy.load("scipy.special")
13-
ss = lazy.load("scipy.stats")
14-
pf = lazy.load("pandas_flavor")
15-
pd = lazy.load("pandas")
16-
np = lazy.load("numpy")
17-
pdtypes = lazy.load("pandas.api.types")
3+
from janitor.accessors.data_description import DataDescription # noqa: F401

0 commit comments

Comments
 (0)