Re: accessing python list in scala note

2016-02-04 Thread Suraj
That works. Thanks a lot Moon. Regards,Suraj Sent from Yahoo Mail on Android On Thu, 4 Feb, 2016 at 12:51 PM, moon soo Lee wrote: Hi Suraj, You can cast type and access the value. Like objFrmPy.asInstanceOf[java.util.ArrayList[Any]].get(1) Hope this helps, Best,moon On Tue, Feb 2, 2016 at

accessing python list in scala note

2016-02-02 Thread Suraj
objFrmPy=z.get("obj1") objFrmPy.getClass.getSimpleName  // output shows that it is ArrayList   //errors objFrmPy(1)   //error: Object does not take parameters objFrmPy.get(1)  //error: value get is not a member of Object Thanks & Regards, Suraj Sent from Yahoo Mail on Android

Re: Problem in creating sankey diagram

2016-01-22 Thread Suraj
closer to the response you get, you will notice that the file mime is plain text instead of js. You should use cdn.rawgit instead. cdn.rawgit.com/tamc/Sankey/master/js/sankey.js On Jan 22, 2016 12:22 AM, "Suraj" wrote: Yes, problem seems to be with loading .js src files. However, if

Re: Problem in creating sankey diagram

2016-01-21 Thread Suraj
pelin note? Sent from Yahoo Mail on Android On Thu, 21 Jan, 2016 at 8:08 PM, Corneau Damien wrote: Hi, I don't think the file path for the .js files can be reached this way. You would need to point to a hosted file. On Jan 21, 2016 7:52 PM, "Suraj" wrote: Hi  

Problem in creating sankey diagram

2016-01-21 Thread Suraj
example works standalone (in .html without Zeppelin note). The js src & css (in the script below) are from tar link provided above. Any suggestions on how to make it work? Thanks a lot.   Regards, Suraj   code %angular     $(document).ready(func