rmnldwg / lymph

Python package for statistical modelling of lymphatic metastatic spread in head & neck cancer.
https://lymph-model.readthedocs.io
MIT License
5 stars 4 forks source link

loading an empty `DataFrame` raises error #79

Closed rmnldwg closed 3 months ago

rmnldwg commented 4 months ago

When loading an empty DataFrame (i.e., one with no rows), the Unilateral model raises the following exception:

ValueError: Cannot set a DataFrame with multiple columns to the single column ('_model', '#', 't_stage')