EpistasisLab / EpistasisLab/tpot
When I am trying to run tpot for classification problem. It is throwing me an error of Cannot index with multidimensional key
- Dominant language
- Jupyter Notebook
- Stars
- 10.1k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
in
6 scoring='accuracy')
7
----> 8 tpot.fit(train.drop('isFraud',axis=1).loc[train].values,
9 train.loc[train,'isFraud'].values)
C:\ProgramData\New folder\lib\site-packages\pandas\core\indexing.py in __getitem__(self, key)
1498
1499 maybe_callable = com.apply_if_callable(key, self.obj)
-> 1500 return self._getitem_axis(maybe_callable, axis=axis)
1501
1502 def _is_scalar_access(self, key):
C:\ProgramData\New folder\lib\site-packages\pandas\core\indexing.py in _getitem_axis(self, key, axis)
1898
1899 if hasattr(key, 'ndim') and key.ndim > 1:
-> 1900 raise ValueError('Cannot index with multidimensional key')
1901
1902 return self._getitem_iterable(key, axis=axis)
**ValueError: Cannot index with multidimensional key**
-----------------------------------------------------------------------------------
What to do if we get this type of issue !!!! Please help !!! Thanks in advance.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.