I am trying to show a progress bar, using tqdm or some other library, in the line following code:
corrmatrix = adjClose.corr('spearman')
where adjClose is a dataframe that has numerous stock tickers as columns and multiple years of closing prices indexed by date. The output is ultimately a correlation matrix.
This code tends to take exponentially more time as more tickers are added to the dataframe and I would like some sort of visual representation of the progress to indicate the code is still running. Google didn't turn up much in this regard unless I grossly overlooked something.