@pf.register_dataframe_method
@deprecated_alias(colname='column_name')
def convert_currency(df: pd.DataFrame, api_key: str, column_name: str=None, from_currency: str=None, to_currency: str=None, historical_date: date=None, make_new_column: bool=False) -> pd.DataFrame:
    'Deprecated function.'
    raise JanitorError("The `convert_currency` function has been temporarily disabled due to exchangeratesapi.io disallowing free pinging of its API. (Our tests started to fail due to this issue.) There is no easy way around this problem except to find a new API to call on.Please comment on issue #829 (https://github.com/pyjanitor-devs/pyjanitor/issues/829) if you know of an alternative API that we can call on, otherwise the function will be removed in pyjanitor's 1.0 release.")
Deprecated function.
@pf.register_dataframe_method
@deprecated_alias(colname='column_name')
def convert_currency(df: pd.DataFrame, api_key: str, column_name: str=None, from_currency: str=None, to_currency: str=None, historical_date: date=None, make_new_column: bool=False) -> pd.DataFrame:
    
    raise JanitorError("The `convert_currency` function has been temporarily disabled due to exchangeratesapi.io disallowing free pinging of its API. (Our tests started to fail due to this issue.) There is no easy way around this problem except to find a new API to call on.Please comment on issue #829 (https://github.com/pyjanitor-devs/pyjanitor/issues/829) if you know of an alternative API that we can call on, otherwise the function will be removed in pyjanitor's 1.0 release.")