void () { runPythonTest(new PyDataFrameDebuggerTask(getRelativeTestDataPath(), "test_dataframe.py", ImmutableSet.of(7, 15, 22)) { @Override public void testing() throws Exception { doTest("df1", 3, 5, null); doTest("df2", 3, 6, arrayChunk -> { List<ArrayChunk.ColHeader> colHeaders = arrayChunk.getColHeaders(); assertSameElements(colHeaders.stream().map(ArrayChunk.ColHeader::getLabel).toArray(), "LABELS", "One_X", "One_Y", "Two_X", "Two_Y", "row"); }); doTest("df3", 7, 3, arrayChunk -> { ArrayChunk.ColHeader header = arrayChunk.getColHeaders().get(2); assertEquals("Sales", header.getLabel()); assertEquals(16, Float.valueOf(header.getMax()).intValue()); assertEquals(1, Float.valueOf(header.getMin()).intValue()); }); } }); }