Dear all,
First off, Happy New and Prosperous Year!
Second, I am new in Pipeline and Pandas. Attached is my Notebook where I apply pipeline to get % of gap values for common stocks ((previous day close - current day open)/previous day close) for a certain day range.
Now I need to
(1) loop through days to calculate lengths of outputs for each day (number of gapped stocks for a given trading day)
(2) plot the lengths (number of gapped stocks for a given trading day, on Y axis) vs DataFrame Index i.e.trading days (on X axis)
How could I do that using the pipeline output? Since it is a Pandas DataFrame there should be general methods applied to any pandas data frames. Many thanks.