Skip to content

Commit dfde6fe

Browse files
authored
docs: take pl.concat out of StringCache context manager in "mismatched string cache" error message (#13076)
1 parent 1baaddb commit dfde6fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/polars-error/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ Help: if you're using Python, this may look something like:
232232
# Initialize Categoricals.
233233
df1 = pl.DataFrame({'a': ['1', '2']}, schema={'a': pl.Categorical})
234234
df2 = pl.DataFrame({'a': ['1', '3']}, schema={'a': pl.Categorical})
235-
# Your operations go here.
236-
pl.concat([df1, df2])
235+
# Your operations go here.
236+
pl.concat([df1, df2])
237237
238238
Alternatively, if the performance cost is acceptable, you could just set:
239239

0 commit comments

Comments
 (0)