mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
exp show: Add --drop and --keep args
Removed `--include-metrics` / `--include-params` and `--exclude-metrics` / `--exclude-params`. Removed `--no-timestamp` . Can be done by `--drop Created`. `--drop` and `--keep` operate directly on the table columns. `--keep` does not perform any filtering. It's only used to specify columns to keep despite the other filtering. For example `--only-changed --keep foo` will prevent `foo` from being removed by `--only-changed`. Another example, `--drop train.* --keep train.dropout` will remove all columns matching `train.*` except for `train.dropout`. Closes #7079 Closes #7080 Pre-requisite for #6434
This commit is contained in:
@@ -790,7 +790,9 @@ def test_show_experiments_pcp(tmp_dir, mocker):
|
||||
|
||||
show_experiments(all_experiments, pcp=True)
|
||||
|
||||
td.dropna.assert_called_with("rows", how="all")
|
||||
td.drop.assert_called_with("Created")
|
||||
td.dropna.assert_called_with("rows", how="all", subset=[])
|
||||
td.drop_duplicates.assert_called_with("rows", subset=[])
|
||||
|
||||
kwargs = td.to_parallel_coordinates.call_args[1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user