code: def create_container(self, X_output, X_original, columns):
      pl = check_library_installed("polars")
      columns = get_columns(columns)
  
      if isinstance(columns, np.ndarray):
          columns = columns.tolist()
  
      if isinstance(X_output, pl.DataFrame):
          if columns is not None:
              return self.rename_columns(X_output, columns)
          return X_output
  
      return pl.DataFrame(X_output, schema=columns, orient="row")
  
imports: import importlib
  from functools import wraps
  from typing import Protocol, runtime_checkable
  import numpy
  from scipy.sparse import issparse
  from .._config import get_config
  from ._available_if import available_if
label_desc: Use image node_id 1 for calling the PolarsAdapter obj's underlying member method code with example usage: obj.create_container(X_output, X_original, columns) and returns: pl, X_output, self