Comments (4)
Hi, @aschonfeld.
As mentioned earlier, I am testing the rolling correlation functionality from the release v1.6.5, and I have some suggestions. This is all linked to previous issues #43 and #45.
Scatter Plot - improvements
-
The scatter is showing the full dataset. It should display only the data on the selected window, e.g.:
- date: '2019-12-01'
- window: 4
- range: ['2019-11-28' : '2019-12-01']
This is similar to pandas' index.iloc[:-window] but you'd also have to apply a logic for querying the specified date.
-
The tooltip on the scatter should show the date, not the index number
-
The scatter plot title should also include the date range. This will be relevant once topic 1 is implemented.
Line Plot - bugs
The same errors happens for str multi indexes
Code
import pandas as pd
import numpy as np
import dtale
ii = pd.date_range(start='2018-01-01', end='2019-12-01', freq='D')
ii = pd.Index(ii, name='date')
n = ii.shape[0]
c = 5
data = np.random.random((n, c))
df = pd.DataFrame(data, index=ii)
d = dtale.show(df)
# change columns names
c = [(c, c) for c in df.columns]
df.columns = c
dtale.show(df)
# change columns with strings
c = [(str(c), str(c)) for c in range(5)]
df.columns = c
dtale.show(df)
# properly creating multi index
c = pd.MultiIndex.from_tuples(c)
df.columns = c
dtale.show(df)
from dtale.
@mindlessbrain just finished work on a new version which includes stuff in the chart builder like:
- support for multi-column selection on the y-axis
- using rolling aggregations
- scatter charts
I will start working on these issues next, will keep you posted
from dtale.
@mindlessbrain I have fixes coded for the line chart failures you were seeing. Good catch on your part! I'll work on re-working the scatter chart for the rolling correlations tomorrow morning.
from dtale.
Fixed in v1.6.7
from dtale.
Related Issues (20)
- String Joiner Parsing Problem HOT 5
- Not able to run Dtale on root url HOT 10
- NoneType object is not iterable HOT 5
- Authentication bug - can acres other session freely HOT 7
- How to report Security Vulnerabilities? HOT 1
- Session management in Dtale and SSO HOT 4
- Day Name HOT 2
- Weekday Name Error HOT 3
- Frequency Table Search HOT 3
- pandas HOT 1
- what is the double bounce graphic used for? HOT 1
- D-Tale Charts isn't showing the filtered data properly HOT 2
- Dtale.show() error with pyarrow backed pandas dataframe? HOT 10
- Hard dependency on werkzeug version which has cvss vulnerability HOT 1
- logging HOT 1
- Running dtale in JupyterHub and bind to localhost only HOT 3
- Time Difference HOT 2
- Graph coordinate inconsistency problem // python3.9, dtale=3.8.1
- Jupyter notebook docker image not supporting Dtale. HOT 1
- hoverinfo cannot be displayed on the lines to the left of the chart HOT 1
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 dtale.