title: pandas apply 2 different functions for particular range of rows of dataframe
body: <p>I'm using Pandas DataFrame to extract a file and apply transformation to some columns. Here I want to call/use different function named func2 for every 5-10 row.</p>
  
  <pre><code>import pandas as pd
  input_df = pd.read_csv('input.csv', dtype=str)
  csv_input = input_df
  csv_input['acct1'] = input_df['acct1'].apply(lambda x: func1(x)[1])
  csv_input.to_csv('input.csv', index=False)
  </code></pre>
  
  <p>I'm trying to use for loop and use i%5 but its not giving the expected result, any suggestions please?</p>