def _check_pandas_installed():
 try:
  import pandas as pd
  return pd
 except ImportError:
  raise RuntimeError('For this method to work the Pandas library is required.')

def _check_pandas_installed ( ) : try : import pandas as pd return pd except ImportError : raise RuntimeError ( 'For this method to work the Pandas library is required.' )
aux function .