Savitzky-Golay filter for stocks and time series (savgol fit) with Python