I am using PyCharm 2016.2.1 . When I try to view a Pandas dataframe through the newly added feature \'View as DataFrame\' in the debugger, this works as expected for a small
I have faced the same problem with PyCharm 2018.2.2. The reason was having a special character in a column's name as mentioned by Yunzhao .
If your having a column name like 'R&D' changing it to 'RnD' will fix the problem. It's really strange JetBrains hasn't solved this problem for over 2 years.