Spaces:
Running
Running
File size: 239 Bytes
0c44916 |
1 2 3 4 5 6 7 8 9 10 11 12 |
import os
import polars as pl
from .seasons import SEASONS
assert (USE_CACHE := os.getenv('USE_CACHE', 'False')) in ('True', 'False')
if USE_CACHE == 'True':
data_df = pl.read_parquet('data.parquet')
else:
from .data import data_df
|