index int64 | statement_id int64 | statement string | lineno int64 | end_lineno int64 | comprehension_types list | metadata dict |
|---|---|---|---|---|---|---|
658 | 37 | _dict['paragraphs'] = [x._to_dict() for x in self.paragraphs] | 3,301 | 3,301 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 38 | args['types'] = [
TypeLabel._from_dict(x) for x in (_dict.get('types'))
] | 3,589 | 3,591 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 39 | args['categories'] = [
Category._from_dict(x) for x in (_dict.get('categories'))
] | 3,593 | 3,595 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 40 | args['attributes'] = [
Attribute._from_dict(x) for x in (_dict.get('attributes'))
] | 3,597 | 3,599 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 41 | _dict['types'] = [x._to_dict() for x in self.types] | 3,615 | 3,615 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 42 | _dict['categories'] = [x._to_dict() for x in self.categories] | 3,617 | 3,617 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 43 | _dict['attributes'] = [x._to_dict() for x in self.attributes] | 3,619 | 3,619 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 44 | args['types'] = [
TypeLabelComparison._from_dict(x) for x in (_dict.get('types'))
] | 3,784 | 3,786 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 45 | args['categories'] = [
CategoryComparison._from_dict(x)
for x in (_dict.get('categories'))
] | 3,788 | 3,791 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 46 | args['attributes'] = [
Attribute._from_dict(x) for x in (_dict.get('attributes'))
] | 3,793 | 3,795 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 47 | _dict['types'] = [x._to_dict() for x in self.types] | 3,813 | 3,813 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 48 | _dict['categories'] = [x._to_dict() for x in self.categories] | 3,815 | 3,815 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 49 | _dict['attributes'] = [x._to_dict() for x in self.attributes] | 3,817 | 3,817 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 50 | args['feedback'] = [
GetFeedback._from_dict(x) for x in (_dict.get('feedback'))
] | 4,241 | 4,243 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 51 | _dict['feedback'] = [x._to_dict() for x in self.feedback] | 4,255 | 4,255 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 52 | args['value'] = [Value._from_dict(x) for x in (_dict.get('value'))] | 4,788 | 4,788 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 53 | _dict['value'] = [x._to_dict() for x in self.value] | 4,802 | 4,802 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 54 | args['element_locations'] = [
ElementLocations._from_dict(x)
for x in (_dict.get('element_locations'))
] | 4,945 | 4,948 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 55 | _dict['element_locations'] = [
x._to_dict() for x in self.element_locations
] | 4,965 | 4,967 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 56 | args['types'] = [
TypeLabel._from_dict(x) for x in (_dict.get('types'))
] | 5,169 | 5,171 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 57 | args['categories'] = [
Category._from_dict(x) for x in (_dict.get('categories'))
] | 5,177 | 5,179 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 58 | _dict['types'] = [x._to_dict() for x in self.types] | 5,195 | 5,195 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 59 | _dict['categories'] = [x._to_dict() for x in self.categories] | 5,197 | 5,197 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 60 | args['types'] = [
TypeLabel._from_dict(x) for x in (_dict.get('types'))
] | 5,264 | 5,266 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 61 | args['categories'] = [
Category._from_dict(x) for x in (_dict.get('categories'))
] | 5,268 | 5,270 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 62 | _dict['types'] = [x._to_dict() for x in self.types] | 5,284 | 5,284 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 63 | _dict['categories'] = [x._to_dict() for x in self.categories] | 5,286 | 5,286 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 64 | args['addresses'] = [
Address._from_dict(x) for x in (_dict.get('addresses'))
] | 5,550 | 5,552 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 65 | args['contacts'] = [
Contact._from_dict(x) for x in (_dict.get('contacts'))
] | 5,554 | 5,556 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 66 | args['mentions'] = [
Mention._from_dict(x) for x in (_dict.get('mentions'))
] | 5,558 | 5,560 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 67 | _dict['addresses'] = [x._to_dict() for x in self.addresses] | 5,578 | 5,578 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 68 | _dict['contacts'] = [x._to_dict() for x in self.contacts] | 5,580 | 5,580 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 69 | _dict['mentions'] = [x._to_dict() for x in self.mentions] | 5,582 | 5,582 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 70 | args['element_locations'] = [
ElementLocations._from_dict(x)
for x in (_dict.get('element_locations'))
] | 6,021 | 6,024 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 71 | _dict['element_locations'] = [
x._to_dict() for x in self.element_locations
] | 6,043 | 6,045 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 72 | args['tables'] = [
Tables._from_dict(x) for x in (_dict.get('tables'))
] | 6,318 | 6,320 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 73 | _dict['tables'] = [x._to_dict() for x in self.tables] | 6,338 | 6,338 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 74 | args['table_headers'] = [
TableHeaders._from_dict(x) for x in (_dict.get('table_headers'))
] | 6,546 | 6,548 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 75 | args['row_headers'] = [
RowHeaders._from_dict(x) for x in (_dict.get('row_headers'))
] | 6,550 | 6,552 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 76 | args['column_headers'] = [
ColumnHeaders._from_dict(x)
for x in (_dict.get('column_headers'))
] | 6,554 | 6,557 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 77 | args['body_cells'] = [
BodyCells._from_dict(x) for x in (_dict.get('body_cells'))
] | 6,559 | 6,561 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 78 | args['contexts'] = [
Contexts._from_dict(x) for x in (_dict.get('contexts'))
] | 6,563 | 6,565 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 79 | args['key_value_pairs'] = [
KeyValuePair._from_dict(x)
for x in (_dict.get('key_value_pairs'))
] | 6,567 | 6,570 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 80 | _dict['table_headers'] = [x._to_dict() for x in self.table_headers] | 6,590 | 6,590 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 81 | _dict['row_headers'] = [x._to_dict() for x in self.row_headers] | 6,592 | 6,592 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 82 | _dict['column_headers'] = [
x._to_dict() for x in self.column_headers
] | 6,594 | 6,596 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 83 | _dict['body_cells'] = [x._to_dict() for x in self.body_cells] | 6,598 | 6,598 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 84 | _dict['contexts'] = [x._to_dict() for x in self.contexts] | 6,600 | 6,600 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 85 | _dict['key_value_pairs'] = [
x._to_dict() for x in self.key_value_pairs
] | 6,603 | 6,605 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 86 | args['types'] = [
TypeLabelComparison._from_dict(x) for x in (_dict.get('types'))
] | 6,957 | 6,959 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 87 | args['categories'] = [
CategoryComparison._from_dict(x)
for x in (_dict.get('categories'))
] | 6,961 | 6,964 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 88 | args['attributes'] = [
Attribute._from_dict(x) for x in (_dict.get('attributes'))
] | 6,966 | 6,968 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 89 | _dict['types'] = [x._to_dict() for x in self.types] | 6,986 | 6,986 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 90 | _dict['categories'] = [x._to_dict() for x in self.categories] | 6,988 | 6,988 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 91 | _dict['attributes'] = [x._to_dict() for x in self.attributes] | 6,990 | 6,990 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 92 | args['types'] = [
TypeLabel._from_dict(x) for x in (_dict.get('types'))
] | 7,046 | 7,048 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 93 | args['categories'] = [
Category._from_dict(x) for x in (_dict.get('categories'))
] | 7,054 | 7,056 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 94 | _dict['types'] = [x._to_dict() for x in self.types] | 7,072 | 7,072 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 95 | _dict['categories'] = [x._to_dict() for x in self.categories] | 7,074 | 7,074 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 96 | args['types'] = [
TypeLabel._from_dict(x) for x in (_dict.get('types'))
] | 7,141 | 7,143 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 97 | args['categories'] = [
Category._from_dict(x) for x in (_dict.get('categories'))
] | 7,145 | 7,147 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 98 | _dict['types'] = [x._to_dict() for x in self.types] | 7,161 | 7,161 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
658 | 99 | _dict['categories'] = [x._to_dict() for x in self.categories] | 7,163 | 7,163 | [
"ListComp"
] | {
"hexsha": "f701adc7789e0923c53cf8d6186000a9a0af4fa7",
"max_stars_repo_name": "BuiQuangAnh/python-sdk",
"max_stars_repo_path": "ibm_watson/compare_comply_v1.py",
"lang": "Python"
} |
661 | 0 | chars = [list(name) for name in names] | 16 | 16 | [
"ListComp"
] | {
"hexsha": "f701aee858154e8cb77d9a32cdd49a298245ef0c",
"max_stars_repo_name": "0HenryH/ai2021s",
"max_stars_repo_path": "AI-lec8-rnn/classify.py",
"lang": "Python"
} |
661 | 1 | ind = [idx for idx, name in filtered] | 33 | 33 | [
"ListComp"
] | {
"hexsha": "f701aee858154e8cb77d9a32cdd49a298245ef0c",
"max_stars_repo_name": "0HenryH/ai2021s",
"max_stars_repo_path": "AI-lec8-rnn/classify.py",
"lang": "Python"
} |
661 | 2 | return [char2index(char) for char in name] | 48 | 48 | [
"ListComp"
] | {
"hexsha": "f701aee858154e8cb77d9a32cdd49a298245ef0c",
"max_stars_repo_name": "0HenryH/ai2021s",
"max_stars_repo_path": "AI-lec8-rnn/classify.py",
"lang": "Python"
} |
683 | 0 | return [
param[0].asnumpy() for param in arg_proj(mx.nd.array(np.ones((1, 1))))
] | 131 | 133 | [
"ListComp"
] | {
"hexsha": "f701bcf97badc3db13f081431a166db21e865c8f",
"max_stars_repo_name": "jgasthaus/gluon-ts",
"max_stars_repo_path": "test/distribution/test_distribution_inference.py",
"lang": "Python"
} |
685 | 0 | list_of_minnesota_zips = [d["zip_code"] for d in list_of_dicts_of_minnesota_zips] | 22 | 22 | [
"ListComp"
] | {
"hexsha": "f701be017cb6068bb7180d6b49d93e3d329c70f9",
"max_stars_repo_name": "mmi333/great_expectations",
"max_stars_repo_path": "contrib/experimental/great_expectations_experimental/expectations/expect_column_values_to_be_valid_minnesota_zip.py",
"lang": "Python"
} |
692 | 0 | urls = set([direct_url] + [loc.get('url') for loc in locations or []]) | 524 | 524 | [
"ListComp"
] | {
"hexsha": "f701c4c68ea3dc6f108a4fb7a2d844def96a3dd3",
"max_stars_repo_name": "netsec/cinder",
"max_stars_repo_path": "cinder/volume/flows/manager/create_volume.py",
"lang": "Python"
} |
692 | 1 | image_volume_ids = [url[9:] for url in urls
if url and url.startswith('cinder://')] | 525 | 526 | [
"ListComp"
] | {
"hexsha": "f701c4c68ea3dc6f108a4fb7a2d844def96a3dd3",
"max_stars_repo_name": "netsec/cinder",
"max_stars_repo_path": "cinder/volume/flows/manager/create_volume.py",
"lang": "Python"
} |
695 | 0 | num = sum([(x-avg)**2 for x in data]) | 32 | 32 | [
"ListComp"
] | {
"hexsha": "f701c6373cd2ec48e39c87c6d61a464dbb1a4fda",
"max_stars_repo_name": "Naohiro2g/upydev",
"max_stars_repo_path": "upyutils/uping.py",
"lang": "Python"
} |
695 | 1 | time_data = array("f", (0 for _ in range(0))) | 70 | 70 | [
"GeneratorExp"
] | {
"hexsha": "f701c6373cd2ec48e39c87c6d61a464dbb1a4fda",
"max_stars_repo_name": "Naohiro2g/upydev",
"max_stars_repo_path": "upyutils/uping.py",
"lang": "Python"
} |
697 | 0 | filter_context = [filteringSenten(word2index,senten,unk_char,ini_char) for senten in context] | 88 | 88 | [
"ListComp"
] | {
"hexsha": "f701c6f320981fb5b4389ff053785d02cd02a20e",
"max_stars_repo_name": "1130310223/Static-Dynamic-Attention",
"max_stars_repo_path": "hybrid/opensubtitle/hyb/bid/type1/len2/hybrid_len2_t1_predict.py",
"lang": "Python"
} |
697 | 1 | padded_context = [paddingSenten(senten,max_senten_len) for senten in context] | 100 | 100 | [
"ListComp"
] | {
"hexsha": "f701c6f320981fb5b4389ff053785d02cd02a20e",
"max_stars_repo_name": "1130310223/Static-Dynamic-Attention",
"max_stars_repo_path": "hybrid/opensubtitle/hyb/bid/type1/len2/hybrid_len2_t1_predict.py",
"lang": "Python"
} |
697 | 2 | senten_l = [c for c in senten.split('\t') if c != '</s>'] | 179 | 179 | [
"ListComp"
] | {
"hexsha": "f701c6f320981fb5b4389ff053785d02cd02a20e",
"max_stars_repo_name": "1130310223/Static-Dynamic-Attention",
"max_stars_repo_path": "hybrid/opensubtitle/hyb/bid/type1/len2/hybrid_len2_t1_predict.py",
"lang": "Python"
} |
699 | 0 | f.write(','.join([str(c) for c in class_list])) | 49 | 49 | [
"ListComp"
] | {
"hexsha": "f701c8ad9ef2bfd1a87e7c7045808347a887c250",
"max_stars_repo_name": "bradysalz/MinVAD",
"max_stars_repo_path": "feature_extract/label_clean_data.py",
"lang": "Python"
} |
700 | 0 | flags = ', '.join(name for name in dir(self)
if not name.startswith('_') and getattr(self, name)) | 2,217 | 2,218 | [
"GeneratorExp"
] | {
"hexsha": "f701c8ef1deceba47a5c1182c16f3b55f0c6f6ff",
"max_stars_repo_name": "zynthian/jackclient-python",
"max_stars_repo_path": "src/jack.py",
"lang": "Python"
} |
700 | 1 | return dict((k, getattr(pos, k)) for k in keys) | 2,372 | 2,372 | [
"GeneratorExp"
] | {
"hexsha": "f701c8ef1deceba47a5c1182c16f3b55f0c6f6ff",
"max_stars_repo_name": "zynthian/jackclient-python",
"max_stars_repo_path": "src/jack.py",
"lang": "Python"
} |
702 | 0 | tickers = [x for x in splits if "\r\n" in x] | 161 | 161 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 1 | tickers = [x.split("\r\n")[1] for x in tickers if "NASDAQ" not in x != "\r\n"] | 162 | 162 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 2 | tickers = [ticker for ticker in tickers if "File" not in ticker] | 163 | 163 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 3 | tickers = [x for x in splits if "\r\n" in x] | 189 | 189 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 4 | tickers = [x.split("\r\n")[1] for x in tickers] | 190 | 190 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 5 | tickers = [ticker for ticker in tickers if "File" not in ticker] | 191 | 191 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 6 | result = {key : val for key,val in zip(data.attribute , data.value)} | 312 | 312 | [
"DictComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 7 | tables = [table for table in tables[1:] if table.shape[1] == 2] | 332 | 332 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 8 | tables = [table for table in tables if "Trailing P/E" in table.iloc[:,0].tolist()] | 359 | 359 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 9 | table_mapper = {key : val for key,val in zip(table_names , tables)} | 544 | 544 | [
"DictComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 10 | table_names = [table.columns[0] for table in tables] | 562 | 562 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 11 | table_mapper = {key : val for key , val in zip(table_names , tables)} | 564 | 564 | [
"DictComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 12 | fields_to_change = [x for x in df.columns.tolist() if "Vol" in x \
or x == "Market Cap"] | 600 | 601 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 13 | fields_to_change = [x for x in df.columns.tolist() if "Volume" in x \
or x == "Market Cap" or x == "Circulating Supply"] | 647 | 648 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 14 | page_data = [row for row in content.split(
'\n') if row.startswith('root.App.main = ')][0][:-1] | 813 | 814 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 15 | dates = [current_date + datetime.timedelta(diff) for diff in range(days_diff + 1)] | 897 | 897 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
702 | 16 | dates = [d.strftime("%Y-%m-%d") for d in dates] | 898 | 898 | [
"ListComp"
] | {
"hexsha": "f701c99be4ff76447f67b9cbb2dd1f257ff3916e",
"max_stars_repo_name": "rokdd/yahoo_fin",
"max_stars_repo_path": "yahoo_fin/stock_info.py",
"lang": "Python"
} |
710 | 0 | return "-".join(str(o) for o in k) | 100 | 100 | [
"GeneratorExp"
] | {
"hexsha": "f701ce4be73d3f3af3e6256b3bb71ac213ac3103",
"max_stars_repo_name": "chenl/eliot",
"max_stars_repo_path": "eliot/dask.py",
"lang": "Python"
} |
710 | 1 | key_to_action_id = {
key: str(ctx.serialize_task_id(), "utf-8")
for key in keys
} | 112 | 115 | [
"DictComp"
] | {
"hexsha": "f701ce4be73d3f3af3e6256b3bb71ac213ac3103",
"max_stars_repo_name": "chenl/eliot",
"max_stars_repo_path": "eliot/dask.py",
"lang": "Python"
} |
710 | 2 | wrapped_func = _RunWithEliotContext(
task_id=key_to_action_id[key],
func=func,
key=key_names[key],
dependencies=[key_names[k] for k in get_dependencies(dsk, key)],
) | 126 | 131 | [
"ListComp"
] | {
"hexsha": "f701ce4be73d3f3af3e6256b3bb71ac213ac3103",
"max_stars_repo_name": "chenl/eliot",
"max_stars_repo_path": "eliot/dask.py",
"lang": "Python"
} |
712 | 0 | include_db = [str(db) for db in self.dataloaders] | 61 | 61 | [
"ListComp"
] | {
"hexsha": "f701cfcda0e7aeba57d87044b5234012ec3d46b3",
"max_stars_repo_name": "ZurMaD/DeepGrabCut-PyTorch",
"max_stars_repo_path": "dataloaders/combine_dbs.py",
"lang": "Python"
} |
712 | 1 | exclude_db = [str(db) for db in self.excluded] | 62 | 62 | [
"ListComp"
] | {
"hexsha": "f701cfcda0e7aeba57d87044b5234012ec3d46b3",
"max_stars_repo_name": "ZurMaD/DeepGrabCut-PyTorch",
"max_stars_repo_path": "dataloaders/combine_dbs.py",
"lang": "Python"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.