@Override
  public InterpreterResult interpret(String st, InterpreterContext context)
      throws InterpreterException {
    LOGGER.info("Running SQL query: '{}' over Pandas DataFrame", st);
    return pythonInterpreter.interpret(
        "z.show(pysqldf('" + st.trim() + "'))", context);
  }
@Test
  public void errorMessageIfDependenciesNotInstalled() throws InterpreterException {
    context = getInterpreterContext();
    InterpreterResult ret = pandasSqlInterpreter.interpret("SELECT * from something", context);

    assertNotNull(ret);
    assertEquals(InterpreterResult.Code.ERROR, ret.code(), context.out.toString());
    if (useIPython) {
      assertTrue(context.out.toString().contains("no such table: something"),
          context.out.toString());
    } else {
      assertTrue(ret.toString().contains("no such table: something"), ret.toString());
    }
  }