Open marjanfamili opened 1 year ago
Related to #63
with open(self.filename, 'r') as f: reader = csv.reader(f, delimiter=',', quoting=csv.QUOTE_NONE) return [[x.strip() for x in row] for row in reader]
Save colours in a df for each class and call from data frame
I created a new dataset and started getting a lot of errors, number of data being zero, etc. Turns out I formed the classes.csv and affinity.csv as follows:
classes.csv item1, item2
affinity.csv item1, item2 1, -1 -1,1
because both have a space behind
item2
it doesn't through the error but it also doesn't recognise the name in the list of data