I\'m working on the following code for performing Random Forest Classification on train and test sets;
from sklearn.ensemble import RandomForestClassifier
fr
In my case, the error aroused due to having a special symbol in the row.
Error cause: having special characters like
Example csv file
1,hello,',this',fails
import numpy as numpy data = numpy.genfromtxt(file, delimiter=delimeter) #Error
Environment Note:
OS: Ubuntu
csv editor: LibreOffice
IDE: Pycharm