Skip to content

Commit

Permalink
Preserve order of breakdowns in bar_dist (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Mancevice authored and mistercrunch committed Apr 9, 2016
1 parent ef992b6 commit b47ca78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions caravel/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,9 +926,8 @@ def get_df(self, query_obj=None):

def get_data(self):
df = self.get_df()
series = df.to_dict('series')
chart_data = []
for name, ys in series.items():
for name, ys in df.iteritems():
if df[name].dtype.kind not in "biufc":
continue
if isinstance(name, string_types):
Expand Down

0 comments on commit b47ca78

Please sign in to comment.