I found a wierd way to do this, checking if there is better way of doing
it.


%python
import pandas as pd
import json
path='notebook/*2DX7F136J*/note.json'
data = json.load(open(path))
df=pd.read_csv(pd.compat.StringIO(data['paragraphs'][0]['results']['msg'][0
]['data']),sep='\t')

On Thu, Nov 29, 2018 at 6:30 AM Kalyan <kalyan.ku...@gmail.com> wrote:

> Hi,
>
> Is it possible to access the output of %sql cell from %python cell using
> some Zeppelin context magic?
> I've some issues in connecting to presto from python, so want to use this
> as a workaround.
>
> --
> Thanks,
> Kalyan
>


-- 
Thanks,
Kalyan

Reply via email to