Skip to content

Disable the global string cache

Source code

Description

Some functions (e.g joins) can be applied on Categorical series only allowed if using the global string cache is enabled. This function disables the string_cache. In general, you should use pl$with_string_cache() instead.

Usage

pl$disable_string_cache()

Value

This doesn’t return any value.

See Also

pl$using_string_cache pl$enable_string_cache pl$with_string_cache

Examples

library(polars)

pl$enable_string_cache()
pl$using_string_cache()
#> [1] TRUE
pl$disable_string_cache()
pl$using_string_cache()
#> [1] FALSE