code: def _drop_duplicates_to_arrow(v, explode=False):
      if explode:
          v = v.explode()
      try:
          return ArrowListArray([v.drop_duplicates().to_numpy()])
      except pa.ArrowInvalid:
          # fallback due to diverse dtypes
          return [v.drop_duplicates().to_list()]
  
imports: import pandas
  from ...None import opcodes
  from ...core import OutputType
  from ...config import options
  from ...serialization.serializables import BoolField
  from ...utils import lazy_import
  from ..arrays import ArrowListArray, ArrowListDtype
  from .core import DataFrameReductionOperand, DataFrameReductionMixin, CustomReduction
label_desc: Use image node_id 2 for calling the NuniqueReduction obj's underlying member method code with example usage: obj._drop_duplicates_to_arrow(v, explode) and returns: ArrowListArray, list