Skip to content

Enable 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 enables the string_cache. In general, you should use pl$with_string_cache() instead.

Usage

pl$enable_string_cache()

Value

This doesn’t return any value.

See Also

pl$using_string_cache pl$disable_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