d0c97911330dc284c9d734d0588e75a0e6a84711,Orange/widgets/data/owmergedata.py,OWMergeData,send_report,#OWMergeData#,155
Before Change
def send_report(self):
attr_a = None
attr_b = None
if self.dataA is not None:
attr_a = self.attr_a
if attr_a in self.dataA.domain:
attr_a = self.dataA.domain[attr_a]
if self.dataB is not None:
attr_b = self.attr_b
if attr_b in self.dataB.domain:
attr_b = self.dataB.domain[attr_b]
self.report_items((
("Attribute A", attr_a),
("Attribute B", attr_b),
))
def merge(A, varA, B, varB, inner=True):
join_indices = inner_join_indices(A, B, varA, varB) if inner else \
After Change
self.commit()
def send_report(self):
attr = (self.attr_augment_data, self.attr_merge_data,
self.attr_combine_data)
extra_attr = (self.attr_augment_extra, self.attr_merge_extra,
self.attr_combine_extra)
merging_types = ("Append columns from Extra Data", "Find matching rows",
"Concatenate tables, merge rows")
self.report_items((
("Merging", merging_types[int(self.merging)]),
("Data attribute", attr[int(self.merging)]),
("Extra data attribute", extra_attr[int(self.merging)])))
def merge(A, varA, B, varB, merge_type):
indices = join_indices(A, B, varA, varB, merge_type)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: biolab/orange3
Commit Name: d0c97911330dc284c9d734d0588e75a0e6a84711
Time: 2017-03-09
Author: tankovesna@hotmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: send_report
Project Name: biolab/orange3
Commit Name: d0c97911330dc284c9d734d0588e75a0e6a84711
Time: 2017-03-09
Author: tankovesna@hotmail.com
File Name: Orange/widgets/data/owmergedata.py
Class Name: OWMergeData
Method Name: send_report
Project Name: biolab/orange3
Commit Name: 8a9aa2b4cc6a26c34fbe67166f7131c672846f15
Time: 2015-12-04
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owliftcurve.py
Class Name: OWLiftCurve
Method Name: send_report
Project Name: biolab/orange3
Commit Name: 262e0448d79220dd66c4f59381bf031f56cb5fa1
Time: 2015-10-30
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/evaluate/owliftcurve.py
Class Name: OWLiftCurve
Method Name: send_report