exp show --html: Handle fill_value.

Adds new argument `fill_value` to ParallelCoordinatesRenderer.

For scalar columns, prevent converting to categorical by explictly inserting None when value is missing (value == fill_value).

For categorical columns, replace `fill_value` with `"Missing"` and ensure it is the last item so it gets rendered on top of the column.
This commit is contained in:
David de la Iglesia Castro
2021-12-17 14:45:12 +09:00
committed by Peter Rowlands (변기호)
parent 5ee82d4000
commit 4d5be46ab4
6 changed files with 65 additions and 21 deletions
+1 -1
View File
@@ -785,7 +785,7 @@ def test_show_experiments_html(tmp_dir, mocker):
show_experiments(all_experiments, html=True)
td.dropna.assert_called_with("rows")
td.dropna.assert_called_with("rows", how="all")
render_kwargs = td.render.call_args[1]