mmcdermott / MIMICIV_FMs_public

Sample end-to-end pipeline over MIMIC-IV demonstrating the Event Stream GPT code base.
MIT License
10 stars 0 forks source link

Getting this error: "AttributeError: 'ExprArrayNameSpace' object has no attribute 'contains'" #3

Open siddiquesalman opened 3 months ago

siddiquesalman commented 3 months ago

I get this error when I try to run cell 6 of notebooks/Build Task DataFrames.ipynb: "AttributeError: 'ExprArrayNameSpace' object has no attribute 'contains'". The error seems to originate in def has_event_type(). The polars version is 0.18.15 since that's what is compatible with the original EventStreamGPT repository. Can you suggest how to resolve this issue? Perhaps using an older version of polars might help? If that's the case, which version?

bnestor commented 1 month ago

Hi, My polars version that I tested this on was also 0.18.15. Did you resolve this? I will try to reproduce it this weekend.