omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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
    21
    39
    38280
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JohnOfMars
      JohnOfMars last edited by

      Absolutely. I too bought Pythonista 3 on principle, but if it had Pandas, then it'd have everything I need to do my work.

      1 Reply Last reply Reply Quote 0
      • Phuket2
        Phuket2 last edited by

        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!

        JohnOfMars dylanmoonhou 2 Replies Last reply Reply Quote 0
        • avdempsey
          avdempsey last edited by

          Not even remotely looking for a refund. This software is inspiring. Pandas would just be an unreal addition.

          1 Reply Last reply Reply Quote 1
          • JohnOfMars
            JohnOfMars @Phuket2 last edited by

            @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.

            1 Reply Last reply Reply Quote 1
            • plessner
              plessner last edited by

              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.

              syslot 1 Reply Last reply Reply Quote 0
              • syslot
                syslot @plessner last edited by

                @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?

                plessner 1 Reply Last reply Reply Quote 0
                • plessner
                  plessner @syslot last edited by

                  @syslot You need to install version 1.3.1. I found in version 1.4.0 some dependencies use C extensions.

                  syslot 1 Reply Last reply Reply Quote 0
                  • syslot
                    syslot @plessner last edited by

                    @plessner well, I have tried to install 1.3.1 and it cant work as well.how do you install the package?

                    plessner 1 Reply Last reply Reply Quote 0
                    • plessner
                      plessner @syslot last edited by

                      @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.4

                      What type of error do you get when you import agate from the console?

                      syslot 2 Replies Last reply Reply Quote 0
                      • syslot
                        syslot @plessner last edited by syslot

                        @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!

                        1 Reply Last reply Reply Quote 0
                        • korakot
                          korakot last edited by

                          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 1 Reply Last reply Reply Quote 0
                          • syslot
                            syslot @plessner last edited by

                            @plessner Hi, plessner, I have found another problem . agate (version 1.3.1) dose not support xls. It's a little pity

                            plessner 1 Reply Last reply Reply Quote 0
                            • plessner
                              plessner @korakot last edited by

                              @korakot Yeah, I got the same message. Had to install Babel separately via pip and then things worked.

                              1 Reply Last reply Reply Quote 0
                              • korakot
                                korakot last edited by

                                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?

                                plessner 1 Reply Last reply Reply Quote 0
                                • plessner
                                  plessner @korakot last edited by

                                  @korakot Slugify requires regex (which is an enhanced replacement for the standard library re). Regex has C dependencies.

                                  1 Reply Last reply Reply Quote 0
                                  • korakot
                                    korakot last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • coomlata1
                                      coomlata1 last edited by coomlata1

                                      I tried to install agate 1.3.1 in pythonista 2.1 using stash but I get an error with "stash: <class '_main.PyPiError'>: 'No package found with that name'. I can install agate 1.2.0 without errors and I can at least get an attempt to install 1.4 but, as noted above, it errors out, due to dependencies. I searched in the PyPi index and could not find agate 1.3.1 listed. Earlier versions prior to 1.2.0 are listed as well as 1.2.0 and 1.4.0 but no 1.3.1.

                                      Finally gave up on pip install and ended up manually installing agate 1.3.1 with stash using the URL from an earlier post in this thread by @korakot: https://pypi.python.org/packages/c0/75/7a4749bb393846adb58bad5044fb8f32738def6c0d5a2bc7f46180f45582/agate-1.3.1.tar.gz .

                                      1 Reply Last reply Reply Quote 0
                                      • plessner
                                        plessner @syslot last edited by

                                        @syslot There is an agate-excel extension. https://github.com/wireservice/agate-excel

                                        I haven't used it or tried to install it. So let me know if you get it to work.

                                        syslot 1 Reply Last reply Reply Quote 0
                                        • ywangd
                                          ywangd last edited by

                                          @korakot @plessner There was a bug in stash pip command that prevented it from parsing package names with uppercase letters. The bug is now fixed and you can get the updated version via selfupdate.

                                          1 Reply Last reply Reply Quote 1
                                          • syslot
                                            syslot @plessner last edited by

                                            @plessner I have already tried and agate-excel worked. thank you

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors