Skip to main content

Check Series Equals Series

Validates that a student's Pandas Series exactly equals the expected Series.

Device Type
Jupyter

Variables:

Variable NameVariable DescriptionTypeRequired?Default
series_nameThe name of the student's Pandas Series variable.strYes
expected_seriesThe expected Pandas Series. For literal tests, supply as a string that evaluates to a Series (e.g., "pd.Series([1,2,3])").anyYes

Examples: