diff options
author | Sonja Galovic <galovicsonja@gmail.com> | 2022-05-04 21:09:00 +0200 |
---|---|---|
committer | Sonja Galovic <galovicsonja@gmail.com> | 2022-05-04 21:09:00 +0200 |
commit | da27997809160bfea0e134f7a2f44d63174447f5 (patch) | |
tree | d8d752e67bc555150eb04cb812fa95263737ced6 /backend/microservice/api/controller.py | |
parent | ae29f2f27d680d4152d3f19eb1db284aa951d0cd (diff) | |
parent | 5f45f5daf61359b039a6154c324a6e6452f0b8a9 (diff) |
Merge branch 'redesign' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into redesign
Diffstat (limited to 'backend/microservice/api/controller.py')
-rw-r--r-- | backend/microservice/api/controller.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/backend/microservice/api/controller.py b/backend/microservice/api/controller.py index 41035cc7..988ad987 100644 --- a/backend/microservice/api/controller.py +++ b/backend/microservice/api/controller.py @@ -118,7 +118,6 @@ def returnColumnsInfo(): ''' preprocess = newmlservice.returnColumnsInfo(data) #samo 10 jedinstvenih posto ih ima previse, bilo bi dobro da promenimo ovo da to budu 10 najzastupljenijih vrednosti - for col in preprocess["columnInfo"]: col["uniqueValues"] = col["uniqueValues"][0:6] col["uniqueValuesCount"] = col["uniqueValuesCount"][0:6] @@ -128,11 +127,9 @@ def returnColumnsInfo(): dataset["nullRows"] = preprocess["allNullRows"] dataset["colCount"] = preprocess["colCount"] dataset["rowCount"] = preprocess["rowCount"] + dataset["cMatrix"]=preprocess['cMatrix'] dataset["isPreProcess"] = True - #print(dataset) - - - + return jsonify(dataset) print("App loaded.") |