Git Product home page Git Product logo

Comments (4)

msimet avatar msimet commented on August 15, 2024

I don't know, but we can look into it. I don't think it would be hard to
make this an optional dependency either...
On Sep 17, 2014 12:29 PM, "Rachel Mandelbaum" [email protected]
wrote:

I was just noticing as I looked at the TreeCorr Readme file that it uses a
package called pandas instead of numpy for fast text file i/o:

This package significantly speeds up the reading of ASCII input catalogs over the numpy functions loadtxt or genfromtxt.

I see that we use genfromtxt. Do you have any sense for how much the file
I/O is hitting us for typical uses of Stile? If it's a problem we might
consider adding this dependency.


Reply to this email directly or view it on GitHub
#38.

from stile.

rmandelb avatar rmandelb commented on August 15, 2024

True. Try/except statements are our friends.

from stile.

rmandelb avatar rmandelb commented on August 15, 2024

Looking at TreeCorr usage of pandas, it looks slightly more complex than genfromtxt:

https://github.com/rmjarvis/TreeCorr/blob/releases/3.1/treecorr/catalog.py

But not too bad. Now that I managed to install TreeCorr I can do it.

from stile.

msimet avatar msimet commented on August 15, 2024

Great, thanks!

from stile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.