import pandas as pd
import numpy as np

# calculate all linear regression value in dataframe with yarray is column index x x is window from 0 to n
def LinearRegression(dataframe, index, windowsize):
    lnrgArray = []
    return lnrgArray
