@Override
  public @NotNull String filterModifier(@NotNull String varName, @NotNull ColumnFilter filter) {
    if (filter.isSubstring()) {
      throw new UnsupportedOperationException("Substring search is not supported on numpy arrays");
    }

    return String.format("%1$s[_np_vectorize(lambda %4$s: bool(%2$s))(%1$s[:, %3$d])]",
                         varName, filter.getFilter(), filter.getColumn(), ColumnFilter.VAR_ALIAS);
  }
@Override
  public @NotNull String filterModifier(@NotNull String varName, @NotNull ColumnFilter filter)