class_docstr: A one-dimensional frame.
  
  Frames with only a single column share certain logic that is encoded in
  this class.
docstr: Create from PyArrow Array/ChunkedArray.
  
  Parameters
  ----------
  array : PyArrow Array/ChunkedArray
      PyArrow Object which has to be converted.
  
  Raises
  ------
  TypeError for invalid input type.
  
  Returns
  -------
  SingleColumnFrame
  
  Examples
  --------
  >>> import cudf
  >>> import pyarrow as pa
  >>> cudf.Index.from_arrow(pa.array(["a", "b", None]))
  StringIndex(['a' 'b' None], dtype='object')
  >>> cudf.Series.from_arrow(pa.array(["a", "b", None]))
  0       a
  1       b
  2    <NA>
  dtype: object
docstr_tok: ["Create","from","PyArrow","Array\/ChunkedArray",".","Parameters","--","--","--","--","--","array",":","PyArrow","Array\/ChunkedArray","PyArrow","Object","which","has","to","be","converted",".","Raises","--","--","--","TypeError","for","invalid","input","type",".","Returns","--","--","--","-","SingleColumnFrame","Examples","--","--","--","--",">",">",">","import","cudf",">",">",">","import","pyarrow","as","pa",">",">",">","cudf.Index.from_arrow","(","pa.array","(","[","``","a","''",",","``","b","''",",","None","]",")",")","StringIndex","(","[","'","a","'","'","b","'","None","]",",","dtype='object","'",")",">",">",">","cudf.Series.from_arrow","(","pa.array","(","[","``","a","''",",","``","b","''",",","None","]",")",")","0","a","1","b","2","<","NA",">","dtype",":","object"]
code: def from_arrow(cls, array):
      """Create from PyArrow Array/ChunkedArray.
  
      Parameters
      ----------
      array : PyArrow Array/ChunkedArray
          PyArrow Object which has to be converted.
  
      Raises
      ------
      TypeError for invalid input type.
  
      Returns
      -------
      SingleColumnFrame
  
      Examples
      --------
      >>> import cudf
      >>> import pyarrow as pa
      >>> cudf.Index.from_arrow(pa.array(["a", "b", None]))
      StringIndex(['a' 'b' None], dtype='object')
      >>> cudf.Series.from_arrow(pa.array(["a", "b", None]))
      0       a
      1       b
      2    <NA>
      dtype: object
      """
      return cls(ColumnBase.from_arrow(array))
  
imports: from __future__ import annotations
  import warnings
  from typing import Any, Dict, Optional, Tuple, Union
  import cupy
  import numpy
  import cudf
  from cudf._typing import Dtype, NotImplementedType, ScalarLike
  from cudf.api.extensions import no_default
  from cudf.api.types import _is_scalar_or_zero_d_array, is_bool_dtype, is_integer, is_integer_dtype
  from cudf.core.column import ColumnBase, as_column
  from cudf.core.frame import Frame
  from cudf.utils.nvtx_annotation import _cudf_nvtx_annotate
  from cudf.utils.utils import NotIterable
label_desc: Use image node_id 15 for calling the SingleColumnFrame obj's underlying member method code with example usage: obj.from_arrow(cls, array) and returns: cls