code: def test_drop_duplicate_columns_with_error(df_duplicated_columns):
      with pytest.raises(IndexError):
          df_duplicated_columns.drop_duplicate_columns(
              column_name="a", nth_index=3
          )
  
file_path: pyjanitor/tests/functions/test_drop_duplicate_columns.py
imports: import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  import janitor
label_desc: Use image node_id 4 for calling a global function with example usage: test_drop_duplicate_columns_with_error(df_duplicated_columns) without return types