code: def convert_stock(stock_symbol: str) -> str:
      """
      This function takes in a stock symbol as a parameter,
      queries an API for the companies full name and returns
      it
  
      Examples:
  
          ```python
          import janitor.finance
          janitor.finance.convert_stock("aapl")
          ```
  
      Args:
          stock_symbol: Stock ticker Symbol
  
      Raises:
          ConnectionError: Internet connection is not available
  
      Returns:
          Full company name
      """
      if is_connected("www.google.com"):
          stock_symbol = stock_symbol.upper()
          return get_symbol(stock_symbol)
      else:
          raise ConnectionError(
              "Connection Error: Client Not Connected to Internet"
          )
  
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 7 for calling a global function with example usage: convert_stock(stock_symbol) and returns: get_symbol