You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a code that contains a pd.concat([]) like the following:
import pandas as pd
def foo(df, dff):
for i in range(10):
df = pd.concat([df, dff])
# this is reachable code and should not be disabled
# or shown in grey
df['foo'] = 'foo'
# but it is shown in grey, the line below too
df['bar'] = 'bar'
return df
foo()
if Pylance is enabled, the rows after pd.concat([]) are shown as disabled (grayed out). If Pylance is disabled, they are shown with proper highlight.
Extension version: 2024.3.1
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Connection to 'wsl+ubuntu' could not be established
Type: Bug
Create a code that contains a pd.concat([]) like the following:
if Pylance is enabled, the rows after pd.concat([]) are shown as disabled (grayed out). If Pylance is disabled, they are shown with proper highlight.
Extension version: 2024.3.1
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Connection to 'wsl+ubuntu' could not be established
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Connection to 'wsl+ubuntu' could not be established
A/B Experiments
The text was updated successfully, but these errors were encountered: