Skip to content

Commit 5bf088a

Browse files
committed
DEPR: deprecate pandas.io.ga, pandas-dev#11308
1 parent 3914e0f commit 5bf088a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/source/whatsnew/v0.17.1.txt

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ API changes
4343
Deprecations
4444
^^^^^^^^^^^^
4545

46+
- The ``pandas.io.ga`` module which implements ``google-analytics`` support is deprecated and will be removed in a future version (:issue:`11308`)
47+
4648
.. _whatsnew_0171.performance:
4749

4850
Performance Improvements

pandas/io/ga.py

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
3. Goto APIs and register for OAuth2.0 for installed applications
55
4. Download JSON secret file and move into same directory as this file
66
"""
7+
8+
# GH11038
9+
import warnings
10+
warnings.warn("The pandas.io.ga module is deprecated and will be "
11+
"removed in a future version.",
12+
FutureWarning, stacklevel=2)
13+
714
from datetime import datetime
815
import re
916
from pandas import compat

0 commit comments

Comments
 (0)