Reduce max workers to 2
This commit is contained in:
@@ -290,7 +290,7 @@ def add_volatility(row):
|
|||||||
new_dict = {**row_dict, **stats}
|
new_dict = {**row_dict, **stats}
|
||||||
return new_dict
|
return new_dict
|
||||||
|
|
||||||
def add_volatility_to_df(df, max_workers=3):
|
def add_volatility_to_df(df, max_workers=2):
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
df = df.reset_index(drop=True)
|
df = df.reset_index(drop=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user