Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jaqs/data/dataservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def str2int(s):
for sec, df in gp:
mask = np.zeros_like(dates, dtype=np.integer)
for idx, row in df.iterrows():
bool_index = np.logical_and(dates > row['in_date'], dates < row['out_date'])
bool_index = np.logical_and(dates >= row['in_date'], dates <= row['out_date'])
mask[bool_index] = 1
dic[sec] = mask

Expand Down