diff --git a/doc/source/whatsnew/v0.17.1.txt b/doc/source/whatsnew/v0.17.1.txt index 1eff7d01d9d91..b9e674c819e49 100755 --- a/doc/source/whatsnew/v0.17.1.txt +++ b/doc/source/whatsnew/v0.17.1.txt @@ -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 diff --git a/pandas/io/ga.py b/pandas/io/ga.py index b6b4081e3650f..5525b34951524 100644 --- a/pandas/io/ga.py +++ b/pandas/io/ga.py @@ -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