carlomazzaferro / scikit-hts-examples

Example usage of scikit-hts
MIT License
53 stars 22 forks source link

python segmentation fault #10

Open ndah-e opened 3 years ago

ndah-e commented 3 years ago

I am trying to use the package for a 6 level hierarchy with sarimax and prophet (OSL). My code works fine up to and including level 4 but for 5 and 6 I keep getting a python segmentation fault. I have tried the code on python 3.7, 3.8 and 3.9

Fatal Python error: Segmentation fault

Current thread 0x00000001164c1e00 (most recent call first): File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/pandas/core/indexers.py", line 258 in maybe_convert_indices File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/pandas/core/internals/managers.py", line 1467 in take File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 3585 in take File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py", line 3599 in _take_with_is_copy File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 3036 in getitem File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/hts/hierarchy/init.py", line 163 in from_nodes File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/hts/hierarchy/init.py", line 173 in from_nodes File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/hts/hierarchy/init.py", line 173 in from_nodes File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/hts/hierarchy/init.py", line 173 in from_nodes File "/Users/ndah/opt/anaconda3/lib/python3.8/site-packages/hts/hierarchy/init.py", line 173 in from_nodes