LTHTR-DST / hdruk_avoidable_admissions

HDRUK Data Science Collaboration on Avoidable Admissions in the NHS.
https://lthtr-dst.github.io/hdruk_avoidable_admissions/
MIT License
6 stars 5 forks source link

Opertn_13 and 14 not fixed in tutorial currently #12

Closed MattStammers closed 1 year ago

MattStammers commented 1 year ago

these two are missing from tutorial

suggest add:

dfa.opertn_13 = dfa.opertn_13.astype(str)
dfa.opertn_14 = dfa.opertn_14.astype(str)
vvcb commented 1 year ago

Not sure this is in my sample pipeline.

Opertn_NN should be a str anyway unless the entire column is empty in which case all nan values will need to be filled with '-' or similar to avoid that entire column being treated as float dtype.

MattStammers commented 1 year ago

It wasn't. Sorry I didn't explain this very well. Let's get the package working fully then we can revisit the tutorial.