Comments (7)
from dtale.
@beautah good catch! I've been meaning to fix that. We saw it when using pd.read_json
and if you had JSON objects multiple levels deep it concatenates them with periods in the column name. Thus causing the same issue.
Would you be alright with me simply replacing any periods in column names underscores?
from dtale.
I'll let you know when the fix is in. For the time being I think theres a sep
argument you can set in pd.json_normalize
from dtale.
I think I am having the same problem with '#' in the column name. I don't think the problem is limited to periods :)
from dtale.
@jboscolo, thanks for the heads up! I’m working on a release which includes the other fix. I’ll include this as well and dig into what other characters pandas doesnt like.
from dtale.
So it looks like pandas has actually solved this issue, but it won't be available until the release of 1.1.0 commit|issue
that being said, I have found a possible work around that will allow me to not remove special characters (https://stackoverflow.com/questions/40045545/pandas-query-string-where-column-name-contains-special-characters)
from dtale.
Fixed this in v.1.7.5. I ended up using this solution which will only work in Python3 and eventually when pandas does a new release it will handle this problem for us. Once that happens I'll make this code be conditional on that version of pandas being used.
from dtale.
Related Issues (20)
- Jupyter notebook docker image not supporting Dtale. HOT 1
- hoverinfo cannot be displayed on the lines to the left of the chart HOT 1
- dtale.show() error without data HOT 4
- Frequency table search problem HOT 3
- D-tale HOT 1
- Show duplicates: Bug or wanted behaviour ? HOT 3
- html code not running HOT 1
- Re-opening D-Tale Chart Colors GitHub Issue #325? HOT 5
- Cannot open Dtale with browser from Notebook HOT 3
- Create "Select All" option when selecting Duplicates HOT 6
- Option to pin the top menu? HOT 2
- Firewall or antivirus software may have blocked the connection. HOT 2
- Export charts as Plotly objects when using `offline_chart` API HOT 3
- Changed behaviour of port and host assignment HOT 1
- Info Page HOT 5
- can I use customize line to add new column otherwise only +-*/ buttom? HOT 2
- selecting all columns instead of one by one HOT 4
- Dynamically Calculating Column Aggregates HOT 2
- Access Altered DF Results (after filtering, sorting, etc.) HOT 2
- How to set up the IP address and port for the open page 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.