You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am trying to run the Flemington-Harrington weighting for a project I'm working on. My dataframe is a few thousand rows and my survival and duration columns are integers. When I run the weighting I get the following error:
ValueError: Unable to coerce to Series, length must be 111: given 110
When I downsample my dataframe to 150 rows the weighting works fine. Is this normal behavior for this weighting? I don't recall anywhere that indicated F-H weighting was impacted by data size.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, I am trying to run the Flemington-Harrington weighting for a project I'm working on. My dataframe is a few thousand rows and my survival and duration columns are integers. When I run the weighting I get the following error:
ValueError: Unable to coerce to Series, length must be 111: given 110
When I downsample my dataframe to 150 rows the weighting works fine. Is this normal behavior for this weighting? I don't recall anywhere that indicated F-H weighting was impacted by data size.
I appreciate any thoughts/feedback!
Beta Was this translation helpful? Give feedback.
All reactions