]> AND Private Git Repository - predictops.git/blobdiff - predictops/source/source.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Starting to investigate the fact that qualitative features with NaN
[predictops.git] / predictops / source / source.py
index 714ed12e941a76b00c7cf6604836bbff04656117..8e68716e3b85f74767c6067f6b9ea866ecd0cfc9 100644 (file)
@@ -17,7 +17,7 @@ class Source:
         csv_files = Path.cwd() / 'config' / 'features'
         list_of_names = []
         for csv_file in listdir(csv_files):
-            with open(csv_file, "r") as f:
+            with open(csv_files / csv_file, "r") as f:
                 reader = DictReader(f, delimiter=',')
                 list_of_names.extend([row['name'] for row in reader])
         if len(list_of_names) != len(set(list_of_names)):