Skip to content

Commit

Permalink
Merge pull request #11318 from jreback/ga
Browse files Browse the repository at this point in the history
DEPR: deprecate pandas.io.ga, #11308
  • Loading branch information
jreback committed Oct 14, 2015
2 parents 3914e0f + 5bf088a commit 7b37a40
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/source/whatsnew/v0.17.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ API changes
Deprecations
^^^^^^^^^^^^

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

.. _whatsnew_0171.performance:

Performance Improvements
Expand Down
7 changes: 7 additions & 0 deletions pandas/io/ga.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
3. Goto APIs and register for OAuth2.0 for installed applications
4. Download JSON secret file and move into same directory as this file
"""

# GH11038
import warnings
warnings.warn("The pandas.io.ga module is deprecated and will be "
"removed in a future version.",
FutureWarning, stacklevel=2)

from datetime import datetime
import re
from pandas import compat
Expand Down

0 comments on commit 7b37a40

Please sign in to comment.