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
import glob
import itertools
import os
from datetime import datetime
import joblib
import numpy as np
import optuna
import pandas as pd
import polars as pl
from sklearn.feature_extraction import FeatureHasher
from sklearn.model_selection import train_test_split
from xgboost import XGBRegressor
df_so = pd.concat([pd.read_pickle(i) for i in so_file_list[-5:]])
df_so = df_so[df_so["customer_code"].isin(df_C2_customer["customer_code"].unique())
& df_so["inner_code"].isin(df_eval_inner_code["inner_code"].unique())]
the lastest line show the wrong highlight, like a condition branch that will never be enter.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Extension version: 2024.2.1
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
Python version (& distribution if applicable, e.g. Anaconda): 3.9.16
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Conda
Value of the python.languageServer setting: Pylance
User Settings
languageServer: "Pylance"
Installed Extensions
Extension Name
Extension Id
Version
autoDocstring - Python Docstring Generator
njpwerner.autodocstring
0.6.1
C/C++
ms-vscode.cpptools
1.19.9
C/C++ Extension Pack
ms-vscode.cpptools-extension-pack
1.3.0
CMake Tools
ms-vscode.cmake-tools
1.17.17
Code Runner
formulahendry.code-runner
0.12.1
Flake8
ms-python.flake8
2023.10.0
Git Graph
mhutchie.git-graph
1.30.0
Git History
donjayamanne.githistory
0.6.20
isort
ms-python.isort
2023.13.10681007
JavaScript Debugger
ms-vscode.js-debug
1.87.0
LeetCode with labuladong
labuladong.leetcode-helper
1.5.4
Markdown All in One
yzhang.markdown-all-in-one
3.6.2
Pylance
ms-python.vscode-pylance
2024.3.1
Python
ms-python.python
2024.3.10791010
Python Debugger
ms-python.debugpy
2024.3.10791014
Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.8
XMake
tboox.xmake-vscode
2.3.0
yapf
eeyore.yapf
2023.12.104100706
System Info
Item
Value
CPUs
Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz (20 x 2808)
This is a duplicate of #5630. The underlying issue was in pandas-stubs. They have fixed it and their fix will ship in our next prerelease build, likely today.
In the meantime there's a workaround described here: #5630 (comment)
Type: Bug
Behaviour
Here's a code snippet
the lastest line show the wrong highlight, like a condition branch that will never be enter.
Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.2.1
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
Remote OS version: Linux x64 6.5.0-15-generic
python.languageServer
setting: PylanceUser Settings
Installed Extensions
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
A/B Experiments
The text was updated successfully, but these errors were encountered: