code: def unique_elements_in_list(array):
      """Returns the unique elements in the input list,
          preserving the original order.
  
      Parameters
      ----------
      array: `List` [`any`]
          List of elements.
  
      Returns
      -------
      unique_array : `List` [`any`]
          Unique elements in `array`, preserving the order of first appearance.
      """
      seen = set()
      result = []
      for item in array:
          if item not in seen:
              result.append(item)
              seen.add(item)
      return result
  
imports: import copy
  import dataclasses
  import functools
  import math
  import re
  import warnings
  from dataclasses import field
  from typing import List
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from pandas.testing import assert_index_equal
  from pandas.testing import assert_series_equal
label_desc: Use image node_id 3 for calling a global function with example usage: unique_elements_in_list(array) and returns: result