You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using your awesome library in a financial engineering course.
In Colab, when I run the line:
from frds.measures import cca
I get the following import error related to the statistics library dependency:
ImportError Traceback (most recent call last)
[<ipython-input-23-f3b52035cd61>](https://localhost:8080/#) in <module>
----> 1 from frds.measures import cca
2
2 frames
[/usr/local/lib/python3.7/dist-packages/frds/measures/__init__.py](https://localhost:8080/#) in <module>
2
3 """
----> 4 from .bank import *
5 from .corporate import *
6 from .general import *
[/usr/local/lib/python3.7/dist-packages/frds/measures/bank.py](https://localhost:8080/#) in <module>
1 from .func_absorption_ratio import absorption_ratio
----> 2 from .func_dip import distress_insurance_premium
3 from .func_mes import marginal_expected_shortfall
4 from .func_ses import systemic_expected_shortfall
5 from .func_cca import cca
[/usr/local/lib/python3.7/dist-packages/frds/measures/func_dip.py](https://localhost:8080/#) in <module>
1 import math
----> 2 from statistics import NormalDist
3 import numpy as np
4 from numpy.random import RandomState
5
ImportError: cannot import name 'NormalDist' from 'statistics' (/usr/lib/python3.7/statistics.py)
Your help is much appreciated!
Many thanks!
The text was updated successfully, but these errors were encountered:
Hi,
I'm using your awesome library in a financial engineering course.
In Colab, when I run the line:
I get the following import error related to the statistics library dependency:
Your help is much appreciated!
Many thanks!
The text was updated successfully, but these errors were encountered: