We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f15ed08 + 823bf88 commit 1c406e7Copy full SHA for 1c406e7
github_activity/github_activity.py
@@ -550,7 +550,7 @@ def filter_ignored(userlist):
550
item_contributors.add(committer)
551
# Only add merger if they're not a bot and not the author
552
if (
553
- row.mergedBy
+ pd.notna(row.mergedBy)
554
and row.mergedBy != row.author
555
and not ignored_user(row.mergedBy)
556
):
github_activity/graphql.py
@@ -323,7 +323,7 @@ def is_bot(user_dict):
323
324
# Add some extra fields
325
def get_login(user):
326
- return user["login"] if not pd.isna(user) else user
+ return user["login"] if pd.notna(user) else user
327
328
self.data["author"] = self.data["author"].map(get_login)
329
self.data["mergedBy"] = self.data["mergedBy"].map(get_login)
0 commit comments