Skip to content

Commit

Permalink
further fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sunt05 committed Aug 30, 2023
1 parent 23d0f37 commit 9416581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/supy/supy/_load.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def set_index_dt(df_raw: pd.DataFrame) -> pd.DataFrame:
loc_issue = ser_dt_diff_sec.reset_index().index[~ser_test][1:] + 2
if loc_issue.size == 0:
# empty list of `loc_issue`
freq = ser_dt_diff[1]
freq = ser_dt_diff.iloc[1]
df_datetime = df_raw.set_index(idx_dt).asfreq(freq)
else:
# non-empty list of `loc_issue`
Expand Down

0 comments on commit 9416581

Please sign in to comment.