79434536

Date: 2025-02-12 21:48:14
Score: 2.5
Natty:
Report link

You can limit number of threads by setting this environment variable

POLARS_MAX_THREADS=3

To verify the thread size:

import polars as pl
pl.thread_pool_size() 

https://docs.pola.rs/api/python/dev/reference/api/polars.thread_pool_size.html

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bjotta