Forum Archive

Pandas

ihf

Any chance of getting Pandas to work under Pythonista? I know that it requires num.py which I believe OMZ has said we might see at some point but I don't know if there are other dependencies which Pythonista is lacking.

dvader9

I second that request.
See link for dependencies:
http://pandas.pydata.org/pandas-docs/stable/install.html#dependencies

I also want to say how much I have enjoyed using Pythonista in the last couple of months since I purchased it; thanks for all the hard work, OMZ! My two kids (7 and 9 years old) and I have had a blast putting together simple concepts and testing them out together.

henryiii

I don't want to delay the upcoming 1.5 release, but Pandas would be nice to have some time.

I think Pandas has some compiled portions, generated from Cython, if I remember correctly.

ccc

The two essential dependencies listed in the URL above have both been proven to work on Pythonista:

dateutil: http://omz-forums.appspot.com/pythonista/post/4550380411158528
ptyz: http://omz-forums.appspot.com/pythonista/post/6354021459689472

That means that the porting effort would be focused on Pandas itself.

There are two highly recommended dependencies in the URL above that would also worth looking at.

henryiii

If you mean numexpr, that's a JIT (just in time) compiler and I rather doubt that would be possible on IOS.

ccc

And bottleneck?

henryiii

Cython generates C / C++ that can be compiled, so Bottleneck would probably possible but would require some work. Probably not worth it unless someone was using Pandas in a very speed critical way...

I'm not sure how hard it is to get it to work, OMZ would know best. My guess is C is pretty easy and C++ may be a little more challenging...

ihf

Has anyone gotten any further with Pandas under Pythonista?