Skip to content

Commit

Permalink
fixed pylint further
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdv committed Mar 12, 2024
1 parent aae6462 commit 56cb912
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def pre_process_data_for_character_per_episode(self, character: str) -> list[str
dialogue_string += dialogue[1]
char_episode_wise_arr.append(dialogue_string)
break
for j in range(1, 11):
for j in range(1, 11):
if i == self.season_from and j >= self.episode_from:
episode_mask_df = season_mask_df[season_mask_df['Episode'] == 'e' + str(j)]
dialogue_string = ''
Expand Down Expand Up @@ -261,7 +261,7 @@ def sentiment_analysis_visualization(self, char_arr: list[str]) -> pd.DataFrame:
if i == self.season_from and j >= self.episode_from:
episode_wise_desc.append("S"+str(i)+":E"+str(j))
elif i == self.season_to and j <= self.episode_to:
episode_wise_desc.append("S"+str(i)+":E"+str(j))
episode_wise_desc.append("S"+str(i)+":E"+str(j))
elif self.season_from < i < self.season_to:
episode_wise_desc.append("S"+str(i)+":E"+str(j))
sentiment_arr.append(episode_wise_desc)
Expand Down

0 comments on commit 56cb912

Please sign in to comment.