import os
import re
import csv
import numpy as np
import pandas as pd
import pickle
import tester
from sklearn import tree, svm
from sklearn.decomposition import PCA
from sklearn.model_selection import train_test_split
import time
from sklearn.metrics import confusion_matrix
from sklearn.neighbors import KNeighborsClassifier

combined = tester.pickle_loader('combine_dataframe_dynamic')

lst=[]
for (columnName, columnData) in combined.iteritems():
    set_=set()
    for i in columnData:
        set_.add(i)
    lst.append(len(set_))

    

print(lst)