-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃幒馃幏 Fix wk3l loading #907
Conversation
trigger ci
trigger ci
@@ -102,6 +102,7 @@ def _load_df(self, key: Union[None, EASide, Tuple[EASide, EASide]], **kwargs) -> | |||
engine="python", | |||
encoding="utf8", | |||
dtype=str, | |||
keep_default_na=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so this was sufficient? because this won't solve the issue if there are empty entries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
empty entries are read as nan
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so even if there's an empty string it gets the string "nan"
?
maybe you should still do dropna() in addition to keep_default_na=False,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it gets the float nan
馃槃
@PyKEEN-bot test |
Merge if it works |
Fix #906
Also fixed an unrelated error in mapping the alignment to IDs.