Skip to content

Commit

Permalink
StringIO in pandas.compat change to import from io
Browse files Browse the repository at this point in the history
  • Loading branch information
redpoint13 authored and bashtage committed Jul 28, 2019
1 parent 44ee8c8 commit 68da604
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pandas_datareader/enigma.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import time

from pandas.compat import StringIO
from io import StringIO
import pandas.compat as compat
import pandas as pd

Expand Down
3 changes: 2 additions & 1 deletion pandas_datareader/famafrench.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import datetime as dt
import re
import tempfile
from io import StringIO
from zipfile import ZipFile

from pandas import read_csv, to_datetime
from pandas.compat import lmap, StringIO
from pandas.compat import lmap

from pandas_datareader.base import _BaseReader

Expand Down
2 changes: 1 addition & 1 deletion pandas_datareader/moex.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import datetime as dt

import pandas as pd
from pandas.compat import StringIO

from io import StringIO
from pandas_datareader.base import _DailyBaseReader
from pandas_datareader.compat import is_list_like

Expand Down
2 changes: 1 addition & 1 deletion pandas_datareader/nasdaq_trader.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from ftplib import FTP, all_errors
from io import StringIO
from pandas import read_csv
from pandas_datareader._utils import RemoteDataError
from pandas.compat import StringIO

import time
import warnings
Expand Down

0 comments on commit 68da604

Please sign in to comment.