Skip to content

Commit

Permalink
REV: v1.2.0rc4
Browse files Browse the repository at this point in the history
  • Loading branch information
韓政均 committed Oct 29, 2024
1 parent 8cf4d33 commit 9f7767f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TejToolAPI/Map_Dask_API.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def _get_data(table, tickers, columns, start, end):
dfgb = data_sets.groupby(['coid'])
while any([i for i in dfgb['mdate'].apply(lambda x: x.diff()).values if i < 0]) :
data_sets['diff'] = dfgb['mdate'].apply(lambda x: x.diff()).values
data_sets.fillna({'diff' : pd.Timedelta(days= 0 )} , inplace= True)
data_sets = data_sets.loc[data_sets['diff'] >= pd.Timedelta(0)]
dfgb = data_sets.groupby(['coid'])
del data_sets['key3']
Expand Down

0 comments on commit 9f7767f

Please sign in to comment.