AndMatcher Class

A column matcher that checks if a list of matchers are all met.

Inheritance
sempy.functions.matcher._matcher.SeriesMatcher
AndMatcher

Constructor

AndMatcher(*matchers: SeriesMatcher)

Parameters

Name Description
*matchers
Required

The list of matchers to check.

Methods

matches

Check if the column has the expected name.

matches

Check if the column has the expected name.

matches(series: MSeries) -> bool

Parameters

Name Description
series
Required

The series the matcher is being tested against.

Returns

Type Description

True if the matcher is met.