Cannot view numpy array during debugging

Hi I'm using this PyCharm version:
PyCharm 2023.3.1 (Professional Edition)
Build #PY-233.11799.298, built on December 11, 2023
Runtime version: 17.0.9+7-b1087.7 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.13.0-51-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
 ide.experimental.ui=true
Non-Bundled Plugins:
 com.github.copilot (1.4.4.3955)
Current Desktop: ubuntu:GNOME

When I tried to view a regular 4x4 numpy array during debugging, there's new tab poping out filled with blank content (as shown in the screenshot), instead of a table view of the array.

0

Hi, could you please test if the issue is reproduced with the following code?
 

import pandas as pd
import numpy as np

# arr = np.array([[1,2,3],[4,5,6]])

rows = 100
columns = 100
col_names = [f'some_long_name_{i}' for i in range(columns)]
df = pd.DataFrame(np.random.rand(rows, columns), columns=col_names)
print(df)


Also, please upload logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue, if possible.

You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.

0

Hi,

Yes the issue is reproducible, neither arr nor df cannot be viewed in the opened tabs, though they can be printed out in the console. Screenshots are attached below. PyCharm logs file is uploaded, Upload id: 2023_12_15_LcM9p9kp3rwd6ut4eYeU2w (file: pycharm-logs-20231215-1644378410950064615841007.zip)

0

I have the same problem, presenting the same way, but on runtime version 17.0.9+7-b1087.7 aarch64.

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Build #PY-233.11799.298, built on December 11, 2023

OSX 14.2 (23C64)

I've actually had the problem since initially updating to 2023.3

0

I have submitted a bug report PY-65404, please follow it for updates.

Unfortunately, I haven't been able to reproduce the issue so far with a small dataframe. For large dataframes, we have another known issue PY-65323

1

I have the same issue on:

Build #PY-233.11799.298, built on December 12, 2023
Runtime version: 17.0.9+7-b1087.7 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

This is a big enough issue that I need to downgrade versions - on the other hand, I am paying for AI assistant.

0

When will it get fixed? Any estimation? This bug is pretty annoying actually.

0

Aleksej Milosevic 

@Shawn

Could you please use https://uploads.jetbrains.com to upload your logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue, to help us identify if it's the same issue?

0

Andrey Resler 

Hi I've submitted it, upload id: 2023_12_21_ZKvmPApa8doHGNKQrMvDyJ (file: pycharm-logs-20231221-13132918404401249281554476.zip)

The script is super simple:

import numpy as np

x = np.array([[1,2,3],[4,5,6]])
print(x)
0

Happy new year dear devs, any update so far?

0
We're planning to bring the legacy SciView back in one of the upcoming updates, until all issues with the new table view are resolved. Sorry for the inconvenience.
0

This issue persists even with 2024.1.1. If you want to be able to inspect a numpy array in the data view, it must be computed before the breakpoints. Otherwise, you get a “nothing to show error”

1

I also can confirm this issue is still present in 2024.1.1 and is still extremely annoying…

0

I met the same issue. Is it solved now?

1

请先登录再写评论。