Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar chart shows error for duplicated data #120

Closed
reza1615 opened this issue Mar 26, 2020 · 7 comments
Closed

Bar chart shows error for duplicated data #120

reza1615 opened this issue Mar 26, 2020 · 7 comments

Comments

@reza1615
Copy link

If the values are duplicated the bar chart shows this error

image

Like Excel, why we can not have this chart (without aggregation)?

image

@reza1615 reza1615 changed the title Bar chart shows error for repeated data Bar chart shows error for duplicated data Mar 26, 2020
@reza1615
Copy link
Author

reza1615 commented Mar 26, 2020

maybe you can add value or no aggregation or all values to the Aggregation drop-down list

@aschonfeld
Copy link
Collaborator

Great suggestion on the "No Aggregation" option! That certainly is easy enough to add. I originally guarded against having duplicate entries on the x-axis because I just assumed the chart would be unreadable in that case.

aschonfeld pushed a commit that referenced this issue Mar 27, 2020
[#119](#119) fixed bug with queries not being passed to functions
[#114](#114) added the ability to export dataframes to CSV
category breakdowns in column analysis popup
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
aschonfeld pushed a commit that referenced this issue Mar 28, 2020
* #84, highlight columns based on dtype
* #92, build columns with random values
* #111, code export has syntax error & str() fix for column builder names
* #116, updated styling of github fork link
* #114, added "Export CSV" link
* #113, updates to "Value Counts" chart in "Column Analysis" for number of values and ordinal entry
* #120, allowing for duplicates in bar charts
* #119, fixed bug with queries not being passed to functions
* #114, added the ability to export dataframes to CSV/TSV
* added "category breakdown" in column analysis popup for float columns
* fixed bug where previous "show missing only" selection was not being recognized
@aschonfeld
Copy link
Collaborator

fixed in v1.8.1

@reza1615
Copy link
Author

Thanks. would you please make No aggregation as default?

@aschonfeld
Copy link
Collaborator

Good call, will do!

@reza1615
Copy link
Author

It still doesn't work properly. for

image

image

The chart should have separated bar for each value. based on
https://stackoverflow.com/questions/53229671/python-bar-chart-with-duplicate-datetimes-in-index

df.plot(kind='bar')

@aschonfeld
Copy link
Collaborator

@reza1615 I've solved the issue, but until I can get a new version released if you select a value for "Barsort" it should fix it for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants