Skip to content

Commit

Permalink
Update main_objs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardFreedman committed Apr 1, 2024
1 parent 8d14a79 commit 301a8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crim_intervals/main_objs.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def _ptype_ema_helper(self, row, ngrams):
for idx, col in zip(offsets, voices):
filtered_df = ngrams.loc[idx, col]
filtered_df = filtered_df.dropna(how='all')
filtered_df = filtered_df.groupby(level='First').tail(1)
filtered_df = filtered_df.groupby(level=0).tail(1)
emas = self.emaAddresses(df=filtered_df, mode='')
complete_ema = self.combineEmaAddresses(emas)
return complete_ema
Expand Down

0 comments on commit 301a8e4

Please sign in to comment.