from modwt import modwt, modwtmra import pandas as pd gdpdata = pd.DataFrame.from_csv('GDPcomponents.csv') wt = modwt(gdpdata['govtexp'], 'db2', 5) wtmra = modwtmra(wt, 'db2')