code: 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.
  
      <!--
      # noqa: DAR101
      # noqa: DAR401
      -->
      """
      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."
      )
  
file_path: pyjanitor/janitor/finance.py
imports: import json
  from datetime import date
  from functools import lru_cache
  from typing import Optional
  import pandas
  import pandas_flavor
  import requests
  from janitor.errors import JanitorError
  from .utils import check, deprecated_alias, is_connected
label_desc: Use image node_id 4 for calling a global function with example usage: convert_currency(df, api_key, column_name, from_currency, to_currency, historical_date, make_new_column) without return types