title: ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> in Power BI
body: <p>im facing following problem by trying to train a ML model. </p>
  
  <pre><code>Error Message:
  Ρýтнбл ѕ¢řїрŧ ëřřбŕ.
  Traceback (most recent call last):
    File "PythonScriptWrapper.PY", line 36, in &lt;module&gt;
      model.fit(train.drop('Demand', axis=1), train.Demand)
    File "C:\Users\ekurt\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\series.py", line 4139, in drop
      errors=errors,
    File "C:\Users\ekurt\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\generic.py", line 3923, in drop
      axis_name = self._get_axis_name(axis)
    File "C:\Users\ekurt\AppData\Local\Continuum\anaconda3\lib\site-packages\pandas\core\generic.py", line 420, in _get_axis_name
      raise ValueError(f"No axis named {axis} for object type {cls}")
  ValueError: No axis named 1 for object type &lt;class 'pandas.core.series.Series'&gt;
  
  </code></pre>
  
  <p>Im trying to run this in Power BI with Python script. 
  I would be glad if someone can help me with this issue. </p>
  
  <p>Let me know if you need further information. </p>
  
  <p>Thanks in advance!</p>