code: def get_balance_sheet(self, **kwargs):
          
          def fmt_p(out):
              data = {(symbol, sheet["reportDate"]): sheet for symbol in out
                      for sheet in out[symbol]["balancesheet"]}
              return pd.DataFrame(data)
  
          return self._get_endpoint("balance-sheet", fmt_p=fmt_p, params=kwargs)
docs: Balance Sheet
  
          Pulls balance sheet data. Available quarterly (4 quarters) and annually
          (4 years)
  
          Reference: https://iexcloud.io/docs/api/#balance-sheet
  
          Data Weighting: ``3000`` per symbol per period
  
          .. warning:: This endpoint is only available using IEX Cloud. See
                       :ref:`Migrating` for more information.
  
          Parameters
          ----------
          period: str, default 'quarterly', optional
              Allows you to specify annual or quarterly balance sheet. Defaults
              to quarterly. Values should be annual or quarter.