What steps will reproduce the problem?
df = pd.DataFrame({'Col1':[1,2,3],'col2':['a','b','c']})
core.frame.DataFrame
What is the expected output? What do you see instead?
I would expect to view a tabular representation of the data winthin the dataframe. Instead I see a tabular wiew of the properties of a dataframe:
Please provide any additional information below
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 513, in createEditor
readonly=readonly)
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1320, in setup
readonly=readonly, remote=remote)
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1272, in __init__
title)
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1149, in __init__
minmax=minmax)
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 110, in __init__
self.set_data(data)
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 158, in set_data
self.set_size_and_type()
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 178, in set_size_and_type
for index in range(start, stop) ]
File "C:\Anaconda2\envs\method_comparisonlib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 78, in __getitem__
return getattr(self.__obj__, key)
File "C:\Anaconda2\envs\method_comparison\Lib\site-packagespandas\core\generic.py", line 206, in _constructor_sliced
raise AbstractMethodError(self)
pandas.core.common.AbstractMethodError: This method must be defined in the concrete class of Series
pyflakes >=0.5.0 : 1.6.0 (OK)
pycodestyle >=2.3 : 2.3.1 (OK)
pygments >=2.0 : 2.2.0 (OK)
pandas >=0.13.1 : None (OK)
numpy >=1.7 : 1.13.3 (OK)
sphinx >=0.6.6 : 1.6.3 (OK)
rope >=0.9.4 : 0.10.7 (OK)
jedi >=0.9.0 : 0.11.0 (OK)
nbconvert >=4.0 : 5.3.1 (OK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
qtconsole >=4.2.0 : 4.3.1 (OK)
IPython >=4.0;<6.0: 5.4.1 (OK)
pylint >=0.25 : 1.7.4 (OK)
A simple restart of spyder fixed the issue.
Most helpful comment
A simple restart of spyder fixed the issue.