Code Monkey home page Code Monkey logo

datashell's People

Contributors

debrouwere avatar

Watchers

 avatar  avatar

Forkers

pombredanne

datashell's Issues

Selective imports

  1. some packages should be available, but only namespaced โ€“ e.g. there's a ton of stuff in numpy that we don't want in the global namespace, but it's still useful to be able to use numpy
  2. other packages export a ton but have only a small amount of very useful functions that should be in the global namespace, e.g. OLS in statsmodels.api
  3. for still other packages, it does make sense to drop them into the global namespace (I'm thinking all of the functions from math, random and all of the scipy.stats.distributions) but alongside all of the good stuff they have a couple of useless or internal variables that are imported alongside when really that's not what we wanted โ€“ either a whitelist or a blacklist is needed
  4. some packages have aliases that are so incredibly common that we should support them: np for numpy, pd for pandas

Like R, we should also warn when variables from one package mask those from another.

Like Django's runserver_plus, we should print out exactly what we import when we import it, both for clarity and to make it easier to move to production code.

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.