Open Aniket99coder opened 7 months ago
This issue comes up from the fact that samp
was an integer array originally, so when you try and fill it with a float, it complains.
This is something you could do in previous numpy versions, so I have found that by pinning your numpy version to 1.23.5, the code will work
The below code form the examples notebook of CoxTime works when pandas=1.3.5 but fails otherwise