z.getInterpreterContext.out.clear is really neat to control what we want to
show in the output box.
Is there a similar interface in python interpreter?

Regards

On Tue, Feb 14, 2017 at 8:20 AM, moon soo Lee <m...@apache.org> wrote:

> Hi,
>
> The behavior is changed since Zeppelin support multiple result in a
> paragraph [1].
> If you're using %spark interpreter, one possible workaround is clear
> output before print something. For example
>
> // do something
> ....
> // clear output
> z.getInterpreterContext.out.clear
> // display something
> z.show(df)
>
> Hope this helps.
>
> Thanks,
> moon
>
> [1] https://issues.apache.org/jira/browse/ZEPPELIN-212
>
>
> On Mon, Feb 13, 2017 at 7:40 AM Bruno Aranda <bara...@apache.org> wrote:
>
>> Hi,
>>
>> I have recently upgraded to 0.7.0. In 0.6.2 I used to have many notes
>> that at the end they do z.show(df) or println("%html ..."), etc. When
>> those lines were executed, the output was changed to a table or HTML, and
>> all the REPL removed, which I found to be a nice thing when creating a
>> report.
>>
>> However, now I can see the REPL output above the table or the HTML. Has
>> this changed?
>>
>> I know you can change the setting in the interpreter, but I used to find
>> a nice thing to be able to see a REPL error on failure, but hide the output
>> when printing the final table or HTML.
>>
>> Is there any solution? I want to be able to generate nice dashboards
>> without technical code in the middle, but at the same time be able to see
>> the code when things fail.
>>
>> Thanks,
>>
>> Bruno
>>
>

Reply via email to