PyCharm hanging for a long time in iPython console with big data

前端 未结 5 1563
难免孤独
难免孤独 2021-02-03 20:26

I\'ve seen some reports PyCharm is slow but I\'m having an issue that seems that\'s too slow even compared to normal operation.

I have a big set of data in a pandas data

5条回答
  •  梦如初夏
    2021-02-03 21:08

    If you have not solved this issue yet:

    I am using pycharm 2020.2 on macos. I read in a not-too-large csv file as pandas.DataFrame format with 239150 rows x 95 columns. When I typed df.columns in the interactive Debug console, similarly, the console hung for about 3 minutes to show the columns. We might have to wait for a real solution from pycharm update.

    For now, a quick dirty solution is:

    1. To write df.columns in your .py file, and,

    2. Select the command > right click > "Execute Selection in Python Console".

提交回复
热议问题