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

Strange repeating row in results #60

Closed
domoritz opened this issue Dec 21, 2012 · 1 comment
Closed

Strange repeating row in results #60

domoritz opened this issue Dec 21, 2012 · 1 comment
Milestone

Comments

@domoritz
Copy link
Contributor

I am not sure whether I'm using the API wrongly but I'm getting repeated rows in the results when converting the simple.csv file.

data_for_conversion = dc.dataconverter(
            f, {'type': t, 'target': 'json', 'header_type': '1'})
fields, result = data_for_conversion.convert()
print 'result', result
result [{u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}, {u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}, {u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}, {u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}, {u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}, {u'date': u'2011-01-03', u'place': u'Berkeley', u'temperature': u'5'}]
@nigelbabu
Copy link
Contributor

I've just tried to duplicate this issue with the current master, and I haven't been able to. Marking this as fixed.

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