Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffxy committed Nov 14, 2023
1 parent 365c9cb commit 3ad1bed
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/brad/planner/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,15 +429,6 @@ def get_metrics(self) -> Tuple[Metrics, datetime]:
most_recent_common.to_pydatetime(),
)

def _fill_empty_metrics(
self, to_fill: pd.DataFrame, guide: pd.DataFrame
) -> pd.DataFrame:
num_rows = guide.shape[0]
num_cols = len(to_fill.columns)
return pd.DataFrame(
np.zeros((num_rows, num_cols)), columns=to_fill.columns, index=guide.index
)

def _extract_most_recent_possibly_missing(
self, series: pd.Series, default_value: int | float, name: Optional[str] = None
) -> int | float:
Expand Down

0 comments on commit 3ad1bed

Please sign in to comment.