code: def _pfixed(s, space, nanRep=None, float_format=None):
      if isinstance(s, float):
          if float_format:
              formatted = float_format(s)
          else:
              formatted = "%#8.6F" % s
  
          return formatted.rjust(space)
      else:
          return ("%s" % s)[:space].rjust(space)
  
file_path: statsmodels/statsmodels/tsa/vector_ar/output.py
imports: from statsmodels.compat.python import lzip
  from io import StringIO
  import numpy
  from statsmodels.iolib import SimpleTable
label_desc: Use image node_id 4 for calling a global function with example usage: _pfixed(s, space, nanRep, float_format) and returns: formatted, unknown