Tabulator aggregators: allow nested dict, fix data aggregation #12213
test.yaml
on: pull_request
Setup workflow
2s
Pixi lock
5s
Matrix: core_test_suite
Matrix: type_test_suite
Matrix: ui_test_suite
Matrix: unit_test_suite
result:test
0s
Annotations
34 errors
unit:test-310:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr,�[4
|
unit:test-310:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-310:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-310:ubuntu-latest
Process completed with exit code 1.
|
unit:test-310:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr,�[4
|
unit:test-310:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File ~/work/panel/panel/.pixi/envs/test-310/lib/python3.10/site-packages/pandas/core/indexes/base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-310:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-310:macos-latest
Process completed with exit code 1.
|
unit:test-312:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr,�[4
|
unit:test-312:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-312:ubuntu-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-312:ubuntu-latest
Process completed with exit code 1.
|
unit:test-312:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr,�[4
|
unit:test-312:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File ~/work/panel/panel/.pixi/envs/test-312/lib/python3.12/site-packages/pandas/core/indexes/base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-312:macos-latest:
examples/reference/widgets/Tabulator.ipynb#L1
examples/reference/widgets/Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-312:macos-latest
Process completed with exit code 1.
|
unit:test-310:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\pandas\core\frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\pandas\core\indexes\base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer�
|
unit:test-310:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\pandas\core\frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\pandas\core\indexes\base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File D:\a\panel\panel\.pixi\envs\test-310\lib\site-packages\pandas\core\indexes\base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-310:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-310:windows-latest
Process completed with exit code 1.
|
ui:test-ui:macos-latest:
panel/tests/ui/pane/test_image.py#L34
test_png_native_size[False]
assert 0 == 800
|
ui:test-ui:macos-latest:
panel/tests/ui/pane/test_image.py#L65
test_png_scale_width[False-scale_width]
assert 0 == 585
|
ui:test-ui:macos-latest:
panel/tests/ui/widgets/test_tabulator.py#L2900
test_tabulator_edit_event_and_header_filters_same_column_pagination[local]
playwright._impl._errors.TimeoutError: Locator.fill: Timeout 20000ms exceeded.
Call log:
waiting for locator("input[type=\"text\"]")
|
ui:test-ui:ubuntu-latest:
panel/tests/ui/test_custom.py#L524
test_children_add_and_remove_without_error[ReactChildren]
AssertionError: Locator expected to have text 'A Markdown pane!'
Actual value: <element(s) not found>
Call log:
LocatorAssertions.to_have_text with timeout 5000ms
- waiting for locator("#container")
|
ui:test-ui:ubuntu-latest:
panel/tests/ui/widgets/test_player.py#L78
test_name_and_show_value
AssertionError: assert False
+ where False = is_visible('label')
+ where is_visible = <Page url='http://localhost:37631/'>.is_visible
|
ui:test-ui:ubuntu-latest:
panel/tests/ui/widgets/test_tabulator.py#L2440
test_tabulator_patching_and_styling
AssertionError: Locator expected to have count '1'
Actual value: 0
Call log:
LocatorAssertions.to_have_count with timeout 5000ms
- waiting for locator(".tabulator-cell").filter(has=locator("text=\"100\""))
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
|
unit:test-312:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 47
Notebook cell execution failed
Cell 47: Cell execution caused an exception
Input:
tabulator_editors = {
'float': {'type': 'number', 'max': 10, 'step': 0.1},
'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
'str': {'type': 'list', 'valuesLookup': True},
}
header_filter_table = pn.widgets.Tabulator(
df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
editors=tabulator_editors, header_filters=True
)
header_filter_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 8
1 tabulator_editors = {
2 'float': {'type': 'number', 'max': 10, 'step': 0.1},
3 'bool': {'type': 'tickCross', 'tristate': True, 'indeterminateValue': None},
4 'str': {'type': 'list', 'valuesLookup': True},
5 }
7 header_filter_table = pn.widgets.Tabulator(
----> 8 df[['float', 'bool', 'str']], height=140, width=400, layout='fit_columns',
9 editors=tabulator_editors, header_filters=True
10 )
11 header_filter_table
File D:\a\panel\panel\.pixi\envs\test-312\Lib\site-packages\pandas\core\frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File D:\a\panel\panel\.pixi\envs\test-312\Lib\site-packages\pandas\core\indexes\base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer�
|
unit:test-312:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 54
Notebook cell execution failed
Cell 54: Cell execution caused an exception
Input:
patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
patch_table
Traceback:
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table = pn.widgets.Tabulator(df[['int', 'float', 'str', 'bool']].copy())
2 patch_table
File D:\a\panel\panel\.pixi\envs\test-312\Lib\site-packages\pandas\core\frame.py:4108, in DataFrame.__getitem__(self, key)
4106 if is_iterator(key):
4107 key = list(key)
-> 4108 indexer = self.columns._get_indexer_strict(key, "columns")[1]
4110 # take() does not accept boolean indexers
4111 if getattr(indexer, "dtype", None) == bool:
File D:\a\panel\panel\.pixi\envs\test-312\Lib\site-packages\pandas\core\indexes\base.py:6200, in Index._get_indexer_strict(self, key, axis_name)
6197 else:
6198 keyarr, indexer, new_indexer = self._reindex_non_unique(keyarr)
-> 6200 self._raise_if_missing(keyarr, indexer, axis_name)
6202 keyarr = self.take(indexer)
6203 if isinstance(key, Index):
6204 # GH 42790 - Preserve name from an Index
File D:\a\panel\panel\.pixi\envs\test-312\Lib\site-packages\pandas\core\indexes\base.py:6249, in Index._raise_if_missing(self, key, indexer, axis_name)
6247 if nmissing:
6248 if nmissing == len(indexer):
-> 6249 raise KeyError(f"None of [{key}] are in the [{axis_name}]")
6251 not_found = list(ensure_index(key)[missing_mask.nonzero()[0]].unique())
6252 raise KeyError(f"{not_found} not in index")
KeyError: "None of [Index(['int', 'float', 'str', 'bool'], dtype='object')] are in the [columns]"
|
unit:test-312:windows-latest:
examples\reference\widgets\Tabulator.ipynb#L1
examples\reference\widgets\Tabulator.ipynb::Cell 55
Notebook cell execution failed
Cell 55: Cell execution caused an exception
Input:
patch_table.patch({
'bool': [
(0, False),
(2, False)
],
'int': [
(slice(0, 2), [3, 2])
]
}, as_index=False)
Traceback:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 patch_table.patch({
2 'bool': [
3 (0, False),
4 (2, False)
5 ],
6 'int': [
7 (slice(0, 2), [3, 2])
8 ]
9 }, as_index=False)
NameError: name 'patch_table' is not defined
|
unit:test-312:windows-latest
Process completed with exit code 1.
|
ui:test-ui:windows-latest:
panel\tests\ui\io\test_convert.py#L195
test_pyodide_test_convert_template_button_app[pyscript-worker]
playwright._impl._errors.TimeoutError: Page.goto: Timeout 20000ms exceeded.
Call log:
navigating to "http://localhost:50001/bd2f00f81f174d0e92624337f8030df6.html", waiting until "load"
|
ui:test-ui:windows-latest:
panel\tests\ui\io\test_reload.py#L30
test_reload_app_on_touch[ipynb]
TimeoutError: wait_until timed out in 5000 milliseconds
|
ui:test-ui:windows-latest:
panel\tests\ui\layout\test_feed.py#L51
test_feed_view_latest
TimeoutError: wait_until timed out in 5000 milliseconds
|
result:test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pixi-lock
|
337 KB |
|
ui_screenshots_Linux
|
486 KB |
|
ui_screenshots_Windows
|
3.7 MB |
|
ui_screenshots_macOS
|
608 KB |
|