get_event_dates
era_pl.get_event_dates(
data,
trading_dates=None,
permno='permno',
event_date='event_date',
win_start=0,
win_end=0,
end_event_date=None,
data_dir=None,
)Expand event dates into trading-day windows.
Events are matched to trading days using get_annc_dates() and then shifted by win_start and win_end to produce event-window bounds. If trading_dates is omitted, CRSP dsi data are loaded from the local parquet store.