Could I know the log results for 9709313? It is invalid on the UW data, and I'm struggling to remedy the issue

Created by Josh Tobias crisppotato
Hi @crisppotato, Here is the error that happened during the training phase. ``` info: reading visit occurrence table.. --------------------------------------------------------------------------- ValueError Traceback (most recent call last) /app/notebooks/covid19_shortstuff.ipynb in 12 patient_occurrences = jm.to_frame(name = 'size').reset_index() 13 flipped = patient_occurrences.pivot(index = 'person_id', columns = 'visit_concept_id', values = 'size') ---> 14 flipped.columns = ["ID_5083_number", "ID_9201_number", "ID_9202_number", "ID_9203_number", 15 "ID_32037_number", "ID_581479_number", "ID_44790889_number"] 16 flipped.reset_index(inplace=True) /opt/conda/lib/python3.8/site-packages/pandas/core/generic.py in __setattr__(self, name, value) 5150 try: 5151 object.__getattribute__(self, name) -> 5152 return object.__setattr__(self, name, value) 5153 except AttributeError: 5154 pass pandas/_libs/properties.pyx in pandas._libs.properties.AxisProperty.__set__() /opt/conda/lib/python3.8/site-packages/pandas/core/generic.py in _set_axis(self, axis, labels) 562 def _set_axis(self, axis: int, labels: Index) -> None: 563 labels = ensure_index(labels) --> 564 self._mgr.set_axis(axis, labels) 565 self._clear_item_cache() 566 /opt/conda/lib/python3.8/site-packages/pandas/core/internals/managers.py in set_axis(self, axis, new_labels) 224 225 if new_len != old_len: --> 226 raise ValueError( 227 f"Length mismatch: Expected axis has {old_len} elements, new " 228 f"values have {new_len} elements" ValueError: Length mismatch: Expected axis has 6 elements, new values have 7 elements ``` Let me know if you need more info, Thanks, @trberg

UW Status Invalid page is loading…