code: def _concat_same_type(cls, to_concat):
      data = np.concatenate([x.data for x in to_concat])
      attr = to_concat[0].attr if len(to_concat) else None
      return cls(data, attr)
  
file_path: pandas/pandas/tests/extension/array_with_attr/array.py
imports: from __future__ import annotations
  import numbers
  from typing import TYPE_CHECKING
  import numpy
  from pandas.core.dtypes.base import ExtensionDtype
  import pandas
  from pandas.core.arrays import ExtensionArray
label_desc: Use image node_id 8 for calling the FloatAttrArray obj's underlying member method code with example usage: obj._concat_same_type(cls, to_concat) and returns: cls