polars.toggle_string_cache# polars.toggle_string_cache(toggle: bool) → None[source]# Turn on/off the global string cache. This ensures that casts to Categorical types have the categories when string values are equal.