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.
    • 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
                          • zhunsake
                            zhunsake last edited by

                            I would even be willingn to do an in-app purchase of $20 or so for pandas. it is the one thing missing for me in this amaazing app. keep up the awesome work!

                            avdempsey 1 Reply Last reply Reply Quote 2
                            • korakot
                              korakot last edited by

                              @ywangd Thanks for the update. I am new to Pythonista and Stash. I really appriciate how Stash helps with everything.

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

                                @syslot said:

                                @ccc Does this link mean that pandas would not be used in pythonista?

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

                                  This link means that only @omz has the power to add Pandas to Pythonista. I believe that he has been silent on the topic.

                                  1 Reply Last reply Reply Quote 0
                                  • avdempsey
                                    avdempsey @zhunsake last edited by

                                    @zhunsake I'd happily pay extra for a pandas add-on as well!

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

                                      +1 for pandas

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

                                        +1 for Pandas!

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

                                          +1 for Pandas ! Please listen to the voice of people. I really need it for my work. With Pandas supported, I can finally ditch my heavy notebook and iPad finally can work as a laptop replacement for me. Thanks and please make my investment in a brand new iPad pro worth.

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

                                            Yes, please!

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