Open
Description
Type: Bug
its showing + , - to tell me what was removed and what is added but the + , - is hardcoded , if i wan to use the code i have to remove it manually .
Don't know how to reproduce , model : o4-mini (Preview)
sample
- if rename_classification_col_name is not None:
- df = df.rename({"classification": rename_classification_col_name})
- return df
+ df = load_las_polars(file_loc, col_type)
+ # create one replaced & renamed classification column, then drop the original
+ if rename_classification_col_name:
+ df = df.with_columns(
+ pl.col("classification")
+ .replace(classification_map)
+ .alias(rename_classification_col_name)
+ ).drop("classification")
+ else:
+ # just replace in-place if no rename requested
+ df = df.with_columns(
+ pl.col("classification")
+ .replace(classification_map)
+ .alias("classification")
+ )
+ return df
Extension version: 0.28.5
VS Code version: Code 1.101.2 (2901c5a, 2025-06-24T20:27:15.391Z)
OS version: Linux x64 6.11.0-29-generic
Modes:
Remote OS version: Linux x64 6.8.0-62-generic
Remote OS version: Linux x64 6.11.0-26-generic
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
h48ei257:31000450
cppperfnew:31000557
dwnewjupyter:31046869
nativeloc1:31344060
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
hdaa2157:31222309
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
pythonpulldiag:31343502
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
pylancequickfixt:31329274
j6a0c355:31339598
convertlamdat:31329272
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335815
nes-diff-11:31337487
6abeh943:31336334
yijiwantestdri0626-c:31336931
0927b901:31346033
f76d9909:31342392