Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
chore: bump version to 0.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex committed Apr 18, 2023
1 parent 188aa14 commit d0ba28b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion frontend/public/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body {
min-width: 100px;
background: none;
border-radius: 5px;
border: 1px solid var(--G3);
border: 1px solid var(--G4);
color: var(--G2);
}

Expand Down
6 changes: 4 additions & 2 deletions frontend/src/instance-views/TableView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@
(c.model === "" || c.model === $model) &&
(c.columnType === ZenoColumnType.METADATA ||
c.columnType === ZenoColumnType.PREDISTILL ||
c.columnType === ZenoColumnType.POSTDISTILL)
c.columnType === ZenoColumnType.POSTDISTILL) &&
$settings.dataColumn.name !== c.name &&
$settings.labelColumn.name !== c.name
);
table.forEach((_, i) => {
Expand Down Expand Up @@ -244,14 +246,14 @@
margin-bottom: 20px;
margin-right: 20px;
top: 2px;
left: 0;
position: sticky;
background-color: var(--G6);
min-width: 70px;
margin-bottom: 5px;
padding-right: 1.6vw;
cursor: pointer;
font-weight: 600;
z-index: 10;
}
td {
padding-right: 15px;
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "zenoml"
version = "0.4.9"
version = "0.4.10"
description = "Interactive Evaluation Framework for Machine Learning"
license = "MIT"
authors = ["Ángel Alexander Cabrera <[email protected]>"]
Expand Down
10 changes: 5 additions & 5 deletions zeno/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
from zeno.api import (
distill,
DistillReturn,
inference,
InferenceReturn,
metric,
MetricReturn,
model,
ModelReturn,
ZenoOptions,
ZenoParameters,
distill,
inference,
metric,
model,
)
from zeno.runner import zeno, get_server
from zeno.runner import get_server, zeno

__all__ = [
"DistillReturn",
Expand Down
12 changes: 8 additions & 4 deletions zeno/processing/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,17 @@ def get_filter_string(filter: FilterPredicateGroup) -> str:
if f.operation == "match":
filt = (
filt
+ "{} (`{}`.str.contains('{}', na=False, regex=False))".format(
+ "{} (`{}`.astype('string').str.contains('{}', na=False,".format(
f.join, f.column, f.value
)
+ "regex=False, case=False))"
)
elif f.operation == "match (regex)":
filt = filt + "{} (`{}`.str.contains('{}', na=False))".format(
f.join, f.column, f.value
filt = (
filt
+ "{} (`{}`.astype('string').str.contains('{}', na=False))".format(
f.join, f.column, f.value
)
)
else:
try:
Expand Down Expand Up @@ -67,7 +71,7 @@ def filter_table(

final_filter = get_filter_string(filter_predicates)
if len(final_filter) > 0:
return df.query(final_filter)
return df.query(final_filter, engine="python")
else:
return df

Expand Down

0 comments on commit d0ba28b

Please sign in to comment.