I am trying to re-excecute the notebbok explained in this video. However I get the error message when I try to import to_datetime form utils library which is correctely installed on my system (Win 7 enterprise).
from QuantLib import *
import pandas as pd
import utils
from utils import to_datetime, format_rate
utils.set_default_plot_size()
from matplotlib.dates import MonthLocator, DateFormatter
What I get is the usual ImportError
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-19-230e0aaadc54> in <module>()
3 import pandas as pd
4 import utils
----> 5 from utils import to_datetime, format_rate
6 utils.set_default_plot_size()
7
ModuleNotFoundError: No module named 'Stocazzo'
any idea for solution?