Home
last modified time | relevance | path

Searched refs:column_types (Results 1 – 25 of 389) sorted by relevance

12345678910>>...16

/dports/textproc/py-agate/agate-1.6.3/tests/test_table/
H A D__init__.py53 table2 = Table([], self.column_names, self.column_types)
69 table = Table(self.rows, column_types=column_types)
82 column_types = dict(zip(self.column_names, self.column_types))
83 table = Table(self.rows, column_names=self.column_names, column_types=column_types)
90 column_types = dict(zip(self.column_names[:2], self.column_types[:2]))
91 table = Table(self.rows, column_names=self.column_names, column_types=column_types)
115 Table(self.rows, column_names, self.column_types)
121 Table(self.rows, self.column_names, column_types)
129 Table(self.rows, column_names, self.column_types)
297 self.column_types,
[all …]
H A Dtest_merge.py22 self.column_types = [self.number_type, self.number_type, self.text_type]
25 table_a = Table(self.rows, self.column_names, self.column_types)
36 table_a = Table(self.rows, self.column_names, self.column_types)
40 table_b = Table(self.rows, column_names, self.column_types)
54 table_a = Table(self.rows, self.column_names, self.column_types)
58 table_b = Table(self.rows, column_names, self.column_types)
72 table_a = Table(self.rows, self.column_names, self.column_types)
74 column_types = [self.number_type, self.text_type, self.text_type]
76 table_b = Table(self.rows, self.column_names, column_types)
82 table_a = Table(self.rows, self.column_names, self.column_types, row_names='three')
[all …]
H A Dtest_from_csv.py27 self.column_types = [
32 table1 = Table(self.rows, self.column_names, self.column_types)
41 table1 = Table(self.rows, self.column_names, self.column_types)
50 table1 = Table(self.rows, self.column_names, self.column_types)
59 table1 = Table(self.rows, self.column_names, self.column_types)
79 table = Table.from_csv('examples/test.csv', column_types=tester)
86 table = Table.from_csv('examples/test.csv', column_types=tester)
114 table1 = Table(self.rows, self.column_names, self.column_types)
135 table1 = Table(self.rows[1:], column_types=self.column_types)
149 table1 = Table(self.rows[1:], column_types=self.column_types)
[all …]
H A Dtest_print_bars.py26 self.column_types = [
33 table = Table(self.rows, self.column_names, self.column_types)
40 table = Table(self.rows, self.column_names, self.column_types)
49 table = Table(self.rows, self.column_names, self.column_types)
58 table = Table(self.rows, self.column_names, self.column_types)
63 table = Table(self.rows, self.column_names, self.column_types)
75 table = Table(rows, self.column_names, self.column_types)
85 table = Table(rows, self.column_names, self.column_types)
89 table = Table(self.rows, self.column_names, self.column_types)
95 table = Table(self.rows, self.column_names, self.column_types)
H A Dtest_pivot.py36 table = Table(self.rows, self.column_names, self.column_types)
53 table = Table(self.rows, self.column_names, self.column_types)
68 table = Table(self.rows, self.column_names, self.column_types)
83 table = Table(self.rows, self.column_names, self.column_types)
89 table = Table(self.rows, self.column_names, self.column_types)
102 table = Table(self.rows, self.column_names, self.column_types)
118 table = Table(self.rows, self.column_names, self.column_types)
134 table = Table(self.rows, self.column_names, self.column_types)
158 table = Table(self.rows, self.column_names, self.column_types)
175 table = Table(self.rows, self.column_names, self.column_types)
[all …]
H A Dtest_normalize.py22 self.column_types = [self.number_type, self.text_type, self.number_type, self.text_type]
25 table = Table(self.rows, self.column_names, self.column_types)
40 table = Table(self.rows, self.column_names, self.column_types)
42 normalized_table = table.normalize('one', 'three', column_types=[Text(), Text()])
55 table = Table(self.rows, self.column_names, self.column_types)
57 …normalized_table = table.normalize('one', 'three', column_types=TypeTester(force={'value': Text()}…
70 table = Table(self.rows, self.column_names, self.column_types)
88 table = Table(self.rows, self.column_names, self.column_types)
106 table = Table(self.rows, self.column_names, self.column_types)
H A Dtest_denormalize.py22 self.column_types = [self.text_type, self.text_type, self.text_type, self.text_type]
25 table = Table(self.rows, self.column_names, self.column_types)
40 table = Table(self.rows, self.column_names, self.column_types)
54 table = Table(self.rows, self.column_names, self.column_types)
70 table = Table(self.rows, self.column_names, self.column_types)
85 table = Table(self.rows, self.column_names, self.column_types)
87 … normalized_table = table.denormalize(None, 'property', 'value', column_types=[Text(), Number()])
99 table = Table(self.rows, self.column_names, self.column_types)
102 normalized_table = table.denormalize(None, 'property', 'value', column_types=type_tester)
H A Dtest_to_json.py27 self.column_types = [
32 table = Table(self.rows, self.column_names, self.column_types)
45 table = Table(self.rows, self.column_names, self.column_types)
58 table = Table(self.rows, self.column_names, self.column_types)
71 table = Table(self.rows, self.column_names, self.column_types)
84 table = Table(self.rows, self.column_names, self.column_types)
97 table = Table(self.rows, self.column_names, self.column_types)
105 table = Table(self.rows, self.column_names, self.column_types)
113 table = Table(self.rows, self.column_names, self.column_types)
128 table = Table(self.rows, self.column_names, self.column_types)
[all …]
H A Dtest_rename.py23 self.column_types = [self.number_type, self.number_type, self.text_type]
26 table = Table(self.rows, self.column_names, self.column_types)
36 table = Table(self.rows, self.column_names, self.column_types, row_names=['a', 'b', 'c'])
46 table = Table(self.rows, self.column_names, self.column_types)
56 table = Table(self.rows, self.column_names, self.column_types)
66 table = Table(self.rows, self.column_names, self.column_types)
76 table = Table(self.rows, self.column_names, self.column_types)
87 table = Table(self.rows, self.column_names, self.column_types)
101 table = Table(self.rows, column_names, self.column_types)
115 table = Table(self.rows, self.column_names, self.column_types, row_names=strings)
H A Dtest_print_table.py26 self.column_types = [
34 table = Table(self.rows, self.column_names, self.column_types)
44 table = Table(self.rows, self.column_names, self.column_types)
54 table = Table(self.rows, self.column_names, self.column_types)
71 column_types = [
76 table = Table(rows, column_names, column_types)
103 table = Table(rows, column_names, self.column_types)
118 table = Table(self.rows, self.column_names, self.column_types)
130 table = Table(self.rows, self.column_names, self.column_types)
H A Dtest_bins.py20 self.column_types = [self.number_type]
28 new_table = Table(rows, self.column_names, self.column_types).bins('number')
56 new_table = Table(rows, self.column_names, self.column_types).bins('number', 10, start=-100)
71 new_table = Table(rows, self.column_names, self.column_types).bins('number')
86 new_table = Table(rows, self.column_names, self.column_types).bins('number')
98 … table_one = Table(rows, self.column_names, self.column_types).bins('number', start=1, end=11)
99 … table_two = Table(rows, self.column_names, self.column_types).bins('number', start=-1, end=9)
110 new_table = Table(rows, self.column_names, self.column_types).bins('number')
136 new_table = Table(rows, self.column_names, self.column_types).bins('number')
H A Dtest_to_csv.py26 self.column_types = [
31 table = Table(self.rows, self.column_names, self.column_types)
46 table = Table(self.rows, self.column_names, self.column_types)
65 table = Table(self.rows, self.column_names, self.column_types)
78 table = Table(self.rows, self.column_names, self.column_types)
94 table = Table(self.rows, self.column_names, self.column_types)
/dports/databases/py-agate-sql/agate-sql-0.5.8/tests/
H A Dtest_agatesql.py27 self.column_types = [
45 self.assertIsInstance(table.column_types[1], agate.Text)
47 self.assertIsInstance(table.column_types[3], agate.Date)
55 column_types = [agate.Number(), agate.Text()]
65 table1 = agate.Table(rows1, column_names, column_types)
66 table2 = agate.Table(rows2, column_names, column_types)
178 column_types = [agate.Number(), agate.Text()]
192 column_types = [agate.Number(), agate.Text()]
206 column_types = [agate.Number(), agate.Text()]
217 column_types = [agate.Number(), agate.Text()]
[all …]
/dports/textproc/py-agate/agate-1.6.3/agate/table/
H A D__init__.py96 if column_types is None:
97 column_types = TypeTester()
98 elif isinstance(column_types, dict):
99 for v in column_types.values():
103 column_types = TypeTester(force=column_types)
105 for column_type in column_types:
109 if isinstance(column_types, TypeTester):
112 self._column_types = tuple(column_types)
210 def column_types(self): member in Table
270 if column_types is None:
[all …]
H A Ddenormalize.py20 column_types=None): argument
129 key_column_types = [self.column_types[self.column_names.index(name)] for name in key]
131 if column_types is None or isinstance(column_types, TypeTester):
132 tester = TypeTester() if column_types is None else column_types
139 new_column_types = key_column_types + list(column_types)
H A Dnormalize.py9 def normalize(self, key, properties, property_column='property', value_column='value', column_types argument
87 if column_types is None or isinstance(column_types, TypeTester):
88 tester = TypeTester() if column_types is None else column_types
95 new_column_types = key_column_types + list(column_types)
H A Dmerge.py41 column_type = table.column_types[i]
50 column_types = tuple(new_columns.values())
56 if table.column_names == column_keys and table.column_types == column_types:
67 return Table(rows, column_keys, column_types, row_names=row_names, _is_fork=True)
/dports/devel/py-cli-helpers/cli_helpers-2.2.0/tests/tabular_output/
H A Dtest_preprocessors.py96 column_types = (float, float)
98 results = align_decimals(data, headers, column_types=column_types)
107 column_types = ()
109 results = align_decimals(data, headers, column_types=column_types)
118 column_types = (float, float)
120 results = align_decimals(data, headers, column_types=column_types)
266 data, headers, column_types=(int,), integer_format=",", float_format=","
279 data, headers, column_types=(float,), integer_format=",", float_format=","
292 data, headers, column_types=(float,), integer_format=",", float_format=","
304 data, headers, column_types=(int, float), integer_format=","
[all …]
/dports/textproc/py-agate/agate-1.6.3/agate/tableset/
H A Daggregate.py19 …column_names, column_types, nested_output, row_name_columns = _aggregate(nested_tableset, aggregat…
27 column_types.insert(0, self._key_type)
32 column_types = [self._key_type]
37 column_types.append(aggregation.get_aggregate_data_type(self._sample_table))
51 return column_names, column_types, output, row_name_columns
73 column_names, column_types, output, row_name_columns = _aggregate(self, aggregations)
81 return Table(output, column_names, column_types, row_names=row_names)
H A Dfrom_json.py15 def from_json(cls, path, column_names=None, column_types=None, keys=None, **kwargs): argument
49 … tables[name] = Table.from_json(filepath, keys[i], column_types=column_types, **kwargs)
51 tables[name] = Table.from_json(filepath, column_types=column_types, **kwargs)
61 tables[key] = Table.from_object(value, column_types=column_types, **kwargs)
/dports/textproc/py-agate/agate-1.6.3/tests/
H A Dtest_columns.py32 self.column_types = [self.number_type, self.number_type, self.text_type]
34 self.table = Table(self.rows, self.column_names, self.column_types)
51 table = Table(self.rows, self.column_names, self.column_types, row_names='three')
58 table = Table(self.rows, self.column_names, self.column_types, row_names='three')
83 table = Table(self.rows, self.column_names, self.column_types, row_names='three')
92 table = Table(self.rows, self.column_names, self.column_types, row_names='three')
113 table = Table(rows, self.column_names, self.column_types)
127 table = Table(rows, self.column_names, self.column_types)
/dports/textproc/py-agate/agate-1.6.3/tests/test_tableset/
H A D__init__.py43 self.column_types = [self.text_type, self.number_type]
46 ('table1', Table(self.table1, self.column_names, self.column_types)),
47 ('table2', Table(self.table2, self.column_names, self.column_types)),
48 ('table3', Table(self.table3, self.column_names, self.column_types))
60 ('table3', Table(self.table3, ['foo', 'bar'], self.column_types))
87 ….assertSequenceEqual([type(t) for t in tableset1.column_types], [type(t) for t in tableset2.column…
128 ….assertSequenceEqual([type(t) for t in tableset1.column_types], [type(t) for t in tableset2.column…
151 [type(t) for t in tableset1.column_types],
152 [type(t) for t in tableset2.column_types],
153 [type(t) for t in tableset3.column_types]
[all …]
/dports/finance/grisbi/grisbi-2.0.5/src/
H A Dcustom_list.c199 custom_list->column_types[0] = G_TYPE_STRING; /* col 0 ( check by default) */ in custom_list_init()
200 custom_list->column_types[1] = G_TYPE_STRING; /* col 1 ( date by default) */ in custom_list_init()
201 custom_list->column_types[2] = G_TYPE_STRING; /* col 2 ( payee by default) */ in custom_list_init()
202 custom_list->column_types[3] = G_TYPE_STRING; /* col 3 ( P/R by default) */ in custom_list_init()
203 custom_list->column_types[4] = G_TYPE_STRING; /* col 4 ( debit by default) */ in custom_list_init()
206 custom_list->column_types[7] = GDK_TYPE_RGBA; /* col 7 ( color of bg ) */ in custom_list_init()
208 custom_list->column_types[9] = G_TYPE_STRING; /* col 9 ( color of amount ) */ in custom_list_init()
211 custom_list->column_types[12] = G_TYPE_INT; /* col 12 ( what is line ) */ in custom_list_init()
212 custom_list->column_types[13] = G_TYPE_STRING; /* col 12 ( font ) */ in custom_list_init()
346 return CUSTOM_LIST(tree_model)->column_types[index]; in custom_list_get_column_type()
[all …]
/dports/x11-toolkits/p5-Gtk2-Ex-Simple-List/Gtk2-Ex-Simple-List-0.50/lib/Gtk2/Ex/Simple/
H A DList.pm17 our %column_types;
18 *column_types = \%Gtk2::Ex::Simple::TiedCommon::column_types;
52 . join(", ", keys %column_types)
53 unless exists $column_types{$typekey};
54 my $type = $column_types{$typekey}{type};
64 rtype => $column_types{$_[$i+1]}{renderer},
65 attr => $column_types{$_[$i+1]}{attr},
/dports/devel/py-cli-helpers/cli_helpers-2.2.0/cli_helpers/tabular_output/
H A Doutput_formatter.py138 column_types=None, argument
164 if column_types is None:
166 column_types = self._get_column_types(data)
168 data, headers = f(data, headers, column_types=column_types, **fkwargs)
169 return formatter(list(data), headers, column_types=column_types, **fkwargs)

12345678910>>...16