Skip to content

Commit

Permalink
Remove old commented-out lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
ThijsVroegh committed Sep 3, 2024
1 parent dee9988 commit 61d5458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions orangecontrib/storynavigation/modules/actionanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ def __filter_custom_word_matches(self, story_elements_df, selected_stories, cust
current_frame['classification'] = c_col
current_frame.rename(columns={cust_tag_col: 'category'}, inplace=True)
combined_df = pd.concat([combined_df, current_frame], axis=0)

#combined_df = combined_df[combined_df['category'] not in ['?', 'nan']]

combined_df = combined_df[~combined_df['category'].isin(['?', 'nan'])]
return combined_df.reset_index(drop=True)

Expand Down
3 changes: 1 addition & 2 deletions orangecontrib/storynavigation/modules/actoranalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ def __filter_custom_word_matches(self, story_elements_df, selected_stories, cust
current_frame['classification'] = c_col
current_frame.rename(columns={cust_tag_col: 'category'}, inplace=True)
combined_df = pd.concat([combined_df, current_frame], axis=0)

#combined_df = combined_df[combined_df['category'] not in ['?', 'nan']]

combined_df = combined_df[~combined_df['category'].isin(['?', 'nan'])]

return combined_df.reset_index(drop=True)
Expand Down

0 comments on commit 61d5458

Please sign in to comment.