I need help with some logic here. I am using pyodbc to query a table in SQL and building a dataframe in order to use ta-lib to calculate technical indicators, but what is ha