Now that we have our data, we want to get familiar with it. For this, we have the Visualizer classes in stock_analysis/stock_visualizer.py. There are three classes in this file:
- Visualizer: This is the base class for defining the functionality of a Visualizer object. Most of the methods are abstract, meaning that the subclasses (children) that inherit from this superclass (parent) will need to override them and implement the code; these define what an object should do without getting into the specifics.
- StockVisualizer: This is the subclass we will use to visualize a single asset.
- AssetGroupVisualizer: This is the subclass we will use to visualize a dataframe with multiple assets using group by operations.
Before we discuss the code for these classes, let's go over some additional functions in the stock_analysis/utils.py file, which will help...