def str_to_datetime(s):
    return utc_to_local(datetime.strptime(s, '%Y-%m-%dT%H:%M:%SZ'))
Set the memory conservation method
dataset/ETHPy150Open shelfworthy/python-spreedly/api.py/str_to_datetime--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/statespace/kalman_filter.py/KalmanFilter.set_conserve_memory