code: def test_add_column_iterator_repeat(dataframe):
      """Fill remaining using a small iterator, with `fill_remaining` set to
      True."""
      df = dataframe.add_column(
          "city_pop", range(3), fill_remaining=True
      )
      assert df.city_pop.iloc[0] == 0
      assert df.city_pop.iloc[1] == 1
      assert df.city_pop.iloc[2] == 2
      assert df.city_pop.iloc[3] == 0
      assert df.city_pop.iloc[4] == 1
      assert df.city_pop.iloc[5] == 2
  
file_path: pyjanitor/tests/functions/test_add_column.py
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from hypothesis import strategies
  from pandas.testing import assert_series_equal
  from janitor.testing_utils.strategies import df_strategy
label_desc: Use image node_id 10 for calling a global function with example usage: test_add_column_iterator_repeat(dataframe) without return types