class_docstr: A dataframe object backed by a Polars DataFrame.
  
  Parameters
  ----------
  column
      The Polars DataFrame backing the dataframe object.
  allow_copy
      Allow data to be copied during operations on this column. If set to `False`,
      a RuntimeError is raised if data would be copied.
docstr: Create a new dataframe by selecting a subset of columns by name.
  
  Parameters
  ----------
  names
      Column names.
docstr_tok: ["Create","a","new","dataframe","by","selecting","a","subset","of","columns","by","name",".","Parameters","--","--","--","--","--","names","Column","names","."]
code: def select_columns_by_name(
      self, names: Sequence[str]
  ) -> PolarsDataFrame:
      """
      Create a new dataframe by selecting a subset of columns by name.
  
      Parameters
      ----------
      names
          Column names.
  
      """
      if not isinstance(names, Sequence):
          raise TypeError("`names` is not a sequence")
  
      return PolarsDataFrame(
          self._df.select(names),
          allow_copy=self._allow_copy,
      )
  
imports: from __future__ import annotations
  from collections.abc import Sequence
  from itertools import accumulate
  from typing import TYPE_CHECKING
  from polars.interchange.column import PolarsColumn
  from polars.interchange.protocol import CopyNotAllowedError
  from polars.interchange.protocol import DataFrame
label_desc: Use image node_id 12 for calling the PolarsDataFrame obj's underlying member method code with example usage: obj.select_columns_by_name(names) and returns: PolarsDataFrame