Code Monkey home page Code Monkey logo

cdx's Introduction

Continuum Data Explorer (CDX)

Installation

We recommend using Anaconda 1.8+ to setup Bokeh's and CDX's dependencies.

To start:

$ python cdxlocal.py

Navigate to http://localhost:5030/cdx#cdx/<docname>. You can pick any document name for <docname>.

Start populating the IPython session with data! In the IPython cell, execute:

import pandas as pd
auto = pd.read_csv("cdx/remotedata/auto-mpg.csv")
import statsmodels.api as sm
longley = sm.datasets.longley.load_pandas().data
macrodata = sm.datasets.macrodata.load_pandas().data
sess.cdx.namespace.populate()
sess.plot("weight", "mpg", "auto")
sess.plot("hp", "mpg", "auto")

If single cell is insufficient for effective work, you can connect an external IPython client to CDX session. For example, to start a console client issue (in a new terminal):

$ ipython console --existing kernel-1.json

cdx's People

Contributors

bryevdv avatar certik avatar joelhullcio avatar mattpap avatar paddymul avatar sahat avatar sdiehl avatar spencerogden avatar tebeka avatar yesimon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdx's Issues

Improve table display and interactions

I would prefer it not wrap wide cells, and eager horizontally scroll instead. Also a button to expand that pane as wide as necessary/possible would be great. Additionally, making the pagination controls look nicer and take less vertical space. -pwang

clicking row in table

Clicking on a row in the table or selecting tires in the table should cause the plots to highlight. @hhuuggoo if you have any hints/tips on how the mechanics of this should work, please chime in.

clicking on column name

It would be great if eventually, some day, clicking on a column name on the left world bring up the summary view stuff that Clayton and Joe Hastings worked on. If you want to know what this looks like, Ben Zaitlen can point you to the live instance we have running on the cloud.

Hembuild/application.js not found - Question about install

Hello,

May be a naive question, I am a little new to this but I am getting: "IOError: [Errno 2] No such file or directory: 'hembuild/application.js'" when I run python setup.py install. What is hembuild (or application.js)?

Thanks,
Alex

Password protection

Add basic password protection on documents. A separate read and read/write password would be nice.

basic menus/big buttons

I would like for us to have some basic menus or big buttons at the top (next to the CDX logo) for Data, Plots, Help, etc. These should use something that look nice with Bootstrap; they don't have to look like traditional rich client GUI menus. -peter

Get the embed tool working

Cdx runs Bokeh in "plot server" mode, so we should be able to generate embed URLs. You guys may need to ask @paddymul if this appears to not work. (@bryevdv perhaps you can verify that it works in Bokeh standalone)

show/hide the output pane

Figure out how best to show/hide the output pane. The goal of CDX is to be like a browser-based Pythonic Excel. We are using Min's single cell notebook thingy, but this is not a hard requirement, really. Longer term, If using IPython notebook causes more trouble than it's worth, then I am not opposed to just having a text entry box (ideally with syntax highlighting) that forward stuff to the server. -pwang

Install Problems

So glad to see CDX is up! Installed everything according to the README and ran

python cdxlocal.py
Starting server on port 5030...
[48879] 10 Sep 23:50:01.264 * Max number of open files set to 10032

Went to http://localhost:5030/cdx#cdx/, but just a black banner with 2 links (Continuum Data Explorer, Pop Out Plots), both lead to NotFound

Any ideas?

Groupby text window

For some reasons, the group by text window is flaky. The first time you enter text into it and press enter, it causes the entire page to reload. Then if you type a column name in and press enter, it does the actual group by.

Redesign/improve layout

The ideal layout is completely open to redesign. For instance, I could see extending the table view to completely take up the left side, and moving the input and output+last input cells to the right half of the screen, under the plots display. -pwang

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.