NotEq#

class scikitplot.corpus.NotEq(field, value)[source]#

field != value.

Notes

A missing field does not satisfy NotEq. Treating absence as inequality would make NotEq match documents that have no such field at all, which is almost never what a caller means; use Not(Exists(field)) to ask that question deliberately.

Parameters:
describe()[source]#

Return a readable rendering of the expression.

Return type:

str

field: str[source]#
matches(document)[source]#

Whether the field is present and differs from value.

Parameters:

document (Any)

Return type:

bool

operators()[source]#

Return {'NotEq'}.

Return type:

set[str]

value: Any[source]#