Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pandas wanted
-
Pythonista is great and I love it very much. I usually use it to carry out some analysis using numpy. But it would be much better if it can run pandas which is a famous time series library. I am quite sure many people want that! Thanks!
-
-
I keep seeing this reply, is it just to focus discussion on the old thread? There's nothing definitive in that thread.
I bought Pythonista 3 on principle, but getting pandas running would make the investment worth so much more!
-
@ccc Does this link mean that pandas would not be used in pythonista?
-
Absolutely. I too bought Pythonista 3 on principle, but if it had Pandas, then it'd have everything I need to do my work.
-
Anyone who feels they need a refund, let me know. I am not connected to Pythonista in anyway, but if you think you made a mistake purchasing this awesome product I would be more than happy to send you a gift card to reimburse you. A real offer!
-
Not even remotely looking for a refund. This software is inspiring. Pandas would just be an unreal addition.
-
@Phuket2 That's a generous offer, but not needed. Pythonista is fantastic and I already use it a lot. Just hoping that if there's enough demand to support another module I also happen to use.
-
Pandas is great. But, check out http://agate.readthedocs.io/en/1.4.0/about.html
Not pandas, but has some pandas like functionality for reading csv, manipulation of heterogeneous data, etc. Pure Python so it can be installed in Pythonista.
-
@plessner well, I tried to install agate use stash-pip.py, but it can't install agate well too. Do you test this package in pythonista?
-
@syslot You need to install version 1.3.1. I found in version 1.4.0 some dependencies use C extensions.
-
@plessner well, I have tried to install 1.3.1 and it cant work as well.how do you install the package?
-
@syslot You need to make sure the dependencies are installed:
six>=1.6.1
pytimeparse>=1.1.5
parsedatetime>=2.1
Babel>=2.0
isodate>=0.5.4What type of error do you get when you import agate from the console?
-
@plessner I tried again and found
- parsedatetime == 1.3 and pip can not update it
and my import message shows below:
Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/mobile/Containers/Shared/AppGroup/A5C76122-1A94-4EAD-8BA3-00973FBFAE31/Pythonista3/Documents/site-packages/agate/__init__.py", line 5, in <module> from agate.aggregations import * File "/private/var/mobile/Containers/Shared/AppGroup/A5C76122-1A94-4EAD-8BA3-00973FBFAE31/Pythonista3/Documents/site-packages/agate/aggregations/__init__.py", line 18, in <module> from agate.aggregations.base import Aggregation # noqa File "/private/var/mobile/Containers/Shared/AppGroup/A5C76122-1A94-4EAD-8BA3-00973FBFAE31/Pythonista3/Documents/site-packages/agate/aggregations/base.py", line 8, in <module> @six.python_2_unicode_compatible AttributeError: 'module' object has no attribute 'python_2_unicode_compatible'
Have you tried in Pythonista?Well , after I reinstall six, Babel and parsedatetime , agate works ! Thank you and let me try it. By the way , @administrators if Pandas works, I would be more than happy!
-
There is some error messages, but it seems to work though.
[~/Documents]$ pip install agate==1.3.1 Querying PyPI ... Downloading package ... Opening: https://pypi.python.org/packages/c0/75/7a4749bb393846adb58bad5044fb8f32738def6c0d5a2bc7f46180f45582/agate-1.3.1.tar.gz Save as: /private/var/mobile/Containers/Data/Application/52EA8FD6-BB50-4C62-ABA3-F42811E351EC/tmp/agate-1.3.1.tar.gz (42626 bytes) 42626 [100.00%] Extracting archive file ... Archive extracted. Running setup file ... Package installed: agate Dependency already installed: six Dependency already installed: pytimeparse Dependency already installed: parsedatetime Installing dependency: Babel>=2.0 Querying PyPI ... Error: No matches found: Babel>=2.0```
-
@plessner Hi, plessner, I have found another problem . agate (version 1.3.1) dose not support xls. It's a little pity
-
@korakot Yeah, I got the same message. Had to install Babel separately via pip and then things worked.
-
I install Babel via pip too. It's funny that I can import babel but pip itself doesn't seem to find Babel 2.0 as a dependency. Hope nothing break though.
What about agate 1.4 ? It seems to require slugify. Or does it require other c-based dependency?
-
@korakot Slugify requires regex (which is an enhanced replacement for the standard library re). Regex has C dependencies.
-
@plessner Thanks for your answer.
It's unfortunate that we can't use agate 1.4, I am taking its latest tutorial (1.4.1) though. It seems to have more detail tutorial, but I found one example doesn't work with 1.3.1.