Cosmos: Fix error in python code

Created on 26 Mar 2018  路  5Comments  路  Source: OpenGenus/cosmos

This is a(n):

  • [ ] New algorithm
  • [ ] Update to an existing algorithm
  • [x] Error
  • [ ] Proposal to the Repository

Details:

File Location :

code/artificial_intelligence/src/decision_tree/decision_tree.py 
code/artificial_intelligence/src/k_Nearest_Neighbours/k_Nearest_Neighbours.py 

and almost all code using csv file as input

Error :

_csv.Error: iterator should return strings, not bytes (did you open the file in text mode?)

Most helpful comment

I'd like to work on this unless you are doing so already.

All 5 comments

I'd like to work on this unless you are doing so already.

@notnerb go for it :D

@tbhaxor Please close!

Is this error still open?

@TubaAli No.

@AdiChat Can you close this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arnavb picture arnavb  路  3Comments

arnavb picture arnavb  路  3Comments

ivanrein picture ivanrein  路  4Comments

grantmwilliams picture grantmwilliams  路  4Comments

rhendz picture rhendz  路  4Comments