ImportError: cannot import name 'urlencode'

5 import numpy as np
6 from pandas import DataFrame, concat, read_csv
----> 7 from pandas.io.common import urlencode
8 import requests
9

ImportError: cannot import name ‘urlencode’

Please see here - you may want to update pandas_datareader.