75d9f7bb2949e1719b6354ae996b46ec0b29cd18,scattertext/ScatterChart.py,ScatterChart,_term_rank_score_and_frequency_df,#ScatterChart#Any#Any#Any#Any#,319

Before Change


			df["p"] = get_p_vals(df, category_column_name,
			                     self.scatterchartdata.term_significance)
		df["not category score"] = CornerScore.get_scores_for_category(
			self._get_not_category_term_frequency(other_categories, df),
			df[category_column_name]
		)
		df["color_scores"] = scores

After Change


			df["p"] = get_p_vals(df, category_column_name,
			                     self.scatterchartdata.term_significance)
		df["not category score"] = CornerScore.get_scores_for_category(
			df[[c + " freq" for c in other_categories]].sum(axis=1),
			df[category_column_name]
		)
		df["color_scores"] = scores
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: JasonKessler/scattertext
Commit Name: 75d9f7bb2949e1719b6354ae996b46ec0b29cd18
Time: 2018-02-06
Author: jason.kessler@gmail.com
File Name: scattertext/ScatterChart.py
Class Name: ScatterChart
Method Name: _term_rank_score_and_frequency_df


Project Name: JasonKessler/scattertext
Commit Name: 75d9f7bb2949e1719b6354ae996b46ec0b29cd18
Time: 2018-02-06
Author: jason.kessler@gmail.com
File Name: scattertext/ScatterChart.py
Class Name: ScatterChart
Method Name: _get_default_scores


Project Name: JasonKessler/scattertext
Commit Name: 75d9f7bb2949e1719b6354ae996b46ec0b29cd18
Time: 2018-02-06
Author: jason.kessler@gmail.com
File Name: scattertext/ScatterChart.py
Class Name: ScatterChart
Method Name: _filter_bigrams_by_minimum_not_category_term_freq