Skip to content

Commit c0e6b74

Browse files
Merge pull request #94 from davidastephens/utils_private
CLN: utils is now _utils
2 parents eb6653d + 367e6d3 commit c0e6b74

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed
File renamed without changes.

pandas_datareader/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import warnings
88

9-
from pandas_datareader.utils import _sanitize_dates
9+
from pandas_datareader._utils import _sanitize_dates
1010

1111
from pandas_datareader.google.daily import _get_data as get_data_google
1212
from pandas_datareader.google.quotes import _get_data as get_quote_google

pandas_datareader/fred.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from pandas.io.common import urlopen
44
from pandas import concat, read_csv
55

6-
from pandas_datareader.utils import _sanitize_dates
6+
from pandas_datareader._utils import _sanitize_dates
77

88
_URL = "http://research.stlouisfed.org/fred2/series/"
99

pandas_datareader/google/daily.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from pandas.io.common import urlencode
2-
from pandas_datareader.utils import _retry_read_url, _encode_url
3-
from pandas_datareader.utils import _sanitize_dates
4-
from pandas_datareader.utils import _get_data_from
2+
from pandas_datareader._utils import (
3+
_retry_read_url, _encode_url, _sanitize_dates, _get_data_from
4+
)
55

66
_URL = 'http://www.google.com/finance/historical'
77

pandas_datareader/tests/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
import pandas_datareader.data as web
2727
from pandas_datareader.data import DataReader
28-
from pandas_datareader.utils import SymbolWarning, RemoteDataError
28+
from pandas_datareader._utils import SymbolWarning, RemoteDataError
2929
from pandas_datareader.yahoo.quotes import _yahoo_codes
3030

3131
def _skip_if_no_lxml():

pandas_datareader/yahoo/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pandas.util.testing import _network_error_classes
66
from pandas.compat import StringIO, bytes_to_str
77

8-
from pandas_datareader.utils import _sanitize_dates, _encode_url
8+
from pandas_datareader._utils import _sanitize_dates, _encode_url
99

1010
_URL = 'http://ichart.finance.yahoo.com/x'
1111

pandas_datareader/yahoo/daily.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from pandas_datareader.utils import _retry_read_url, _encode_url
2-
from pandas_datareader.utils import _sanitize_dates
3-
from pandas_datareader.utils import _get_data_from
1+
from pandas_datareader._utils import (
2+
_retry_read_url, _encode_url, _sanitize_dates, _get_data_from
3+
)
44

55
_URL = 'http://ichart.finance.yahoo.com/table.csv'
66

pandas_datareader/yahoo/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from pandas.tseries.offsets import MonthEnd
99
from pandas.util.testing import _network_error_classes
1010

11-
from pandas_datareader.utils import RemoteDataError
11+
from pandas_datareader._utils import RemoteDataError
1212

1313
# Items needed for options class
1414
CUR_MONTH = dt.datetime.now().month

pandas_datareader/yahoo/quotes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pandas.compat as compat
55
from pandas.io.common import urlopen
66
from pandas import DataFrame
7-
from pandas_datareader.utils import _encode_url
7+
from pandas_datareader._utils import _encode_url
88

99
_yahoo_codes = {'symbol': 's', 'last': 'l1', 'change_pct': 'p2', 'PE': 'r',
1010
'time': 't1', 'short_ratio': 's7'}

0 commit comments

Comments
 (0)