Skip to content

Commit

Permalink
Adding TODO for masking usernames in comments and tags frames
Browse files Browse the repository at this point in the history
  • Loading branch information
kallewesterling authored Mar 28, 2023
1 parent 7d79075 commit b78d8ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zoonyper/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,9 @@ def load_frame(self, name: str) -> pd.DataFrame:
):
comments = pd.read_json(self.comments_path)
comments.set_index("comment_id", inplace=True)


# TODO: Run comment_user_id through self.redact_user_name?

comments = self._fix_columns(
comments,
{
Expand All @@ -1053,6 +1055,8 @@ def load_frame(self, name: str) -> pd.DataFrame:
tags = pd.read_json(self.tags_path)
tags.set_index("id", inplace=True)

# TODO: Run user_id through self.redact_user_name?

# Fix tags' types
tags = self._fix_columns(
tags,
Expand Down

0 comments on commit b78d8ab

Please sign in to comment.