Comments (4)
@papajohn Is this for the hist
method or for pivot_hist
? (A quick explanation of the difference between the two would also be much appreciated!)
from datascience.
Good question. This change refers to hist
. hist
draws a histogram for
each column (perhaps overlaid onto one chart).
pivot_hist
may not be long for this world. It's equivalent to the
following for loop on a two-column table t
with columns a
and b
,
except that it bins in the same way for every subplot and supports
overlays. I'd like to generalize it somehow, but haven't figured out the
right way yet.
for v in np.unique(t[a]):
t.where(a, v).select([b]).rename(b, v).hist()
On Wed, Aug 5, 2015 at 12:43 AM, Sam Lau [email protected] wrote:
@papajohn https://github.com/papajohn Is this for the hist method or
for pivot_hist? (A quick explanation of the difference between the two
would also be much appreciated!)—
Reply to this email directly or view it on GitHub
#36 (comment).
from datascience.
By the way, I think this change may not be a change at all. The underlying matplotlib.hist
method takes an array of bins or an integer bin count. If you find that there's nothing to change, just close the issue. http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.hist
from datascience.
Looks like the underlying hist
method has this functionality! Closing.
from datascience.
Related Issues (20)
- make test doesn't work HOT 1
- Make Plots Compatible with %matplotlib notebook HOT 2
- Deprecation warning for np.int in _vertical_x()
- Actions for running tests are erroring out HOT 3
- Docs are not getting automatically built HOT 2
- v0.17.5 not pip installable HOT 2
- `Table.scatter` method doesn't recognize `sizes` argument HOT 2
- Getting warning from numpy when creating pivot table HOT 4
- Getting warning from numpy when creating histogram HOT 5
- getting version in setup.py HOT 5
- We use Python f-strings HOT 3
- Possible bug with Marker copy HOT 2
- Remove `Table.empty` from `tables.py` HOT 1
- bokeh required for tests to pass HOT 2
- 0.17.6 release not on pypi or conda HOT 5
- Do we need to check for `collections.abc.Sequence` in `utils. is_non_string_iterable`? HOT 2
- test_date_formatter_format_value() should call tzset() HOT 1
- Please restore: column_labels in 0.17.5 versus 0.17.6 HOT 6
- Error Handling issue. HOT 1
- plots don't work with datascience module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datascience.