()
| 9 | |
| 10 | |
| 11 | def test_strip(): |
| 12 | t = table_from_pandas( |
| 13 | pd.DataFrame({"a": [" abc", " def ", "ab cd ", "xy zt", "zy "]}) |
| 14 | ) |
| 15 | expected = table_from_pandas( |
| 16 | pd.DataFrame({"a": ["abc", "def", "ab cd", "xy zt", "zy"]}) |
| 17 | ) |
| 18 | result = t.select(a=pw.this.a.str.strip()) |
| 19 | assert_table_equality(result, expected) |
| 20 | |
| 21 | |
| 22 | def test_count(): |
nothing calls this directly
no test coverage detected