code: def test_duplications_in_filter_should_preserve_order():
      states = geodata.geocode_states(
          ["Texas", "TX", "Arizona", "Texas"]
      ).get_geocodes()
      assert_row(
          states,
          names=["Texas", "TX", "Arizona", "Texas"],
          found_name=["Texas", "Texas", "Arizona", "Texas"],
      )
  
imports: import pytest
  from shapely.geometry import Point, box
  import lets_plot.geo_data
  from lets_plot.geo_data import DF_COLUMN_FOUND_NAME, DF_COLUMN_ID, DF_COLUMN_COUNTRY, DF_COLUMN_STATE, DF_COLUMN_COUNTY, DF_COLUMN_CENTROID, DF_COLUMN_POSITION, DF_COLUMN_LIMIT
  from geo_data_test_util import assert_row, assert_error, NO_COLUMN, COLUMN_NAME_CITY
  from test_integration_with_geocoding_serever import TURN_OFF_INTERACTION_TEST
label_desc: Use image node_id 24 for calling a global function with example usage: test_duplications_in_filter_should_preserve_order() without return types