title: Question Regarding : FutureWarning:In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only
body: <p>I am new to Python and using Pandas library. As a practise i was trying to clean a excel file and when I executed the code I see the below,</p>
  <p>FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only
  data_one_clean = active_employee.drop(active_employee.columns[0:3], 1)
  not sure how to fix this.</p>
  <p>My code:</p>
  <p>import pandas</p>
  <pre><code>active_employee = pandas.read_excel(&quot;All Active Employee.xlsx&quot;, sheet_name=0)
  data_one_clean = active_employee.drop(active_employee.columns[0:3], 1)
  data_two_clean = data_one_clean.drop(data_one_clean.columns[1:10], 1)
  data_three_clean = data_two_clean.drop(data_two_clean.columns[2], 1)
  data_final = data_three_clean.drop(data_three_clean.columns[3:], 1)
  </code></pre>
  <p>print(data_final)</p>