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

Private GIT Repository
Refactoring, fin du lever/coucher de soleil, et début de sentinelles
[predictops.git] / predictops / source / ramadan.py
index 6836df15a474016645d6665c163767b78577975c..e0875d2ce47ce2875ad7e0532aafbcf36fa94b9b 100644 (file)
@@ -22,8 +22,9 @@ class Ramadan:
 
         # Collecting holidays features
         self._features = [section for section in self._config
 
         # Collecting holidays features
         self._features = [section for section in self._config
-                          if self._config[section].getboolean('numerical')
-                          or self._config[section].getboolean('categorical')]
+                          if self._config[section].getboolean('binary')
+                          or self._config[section].getboolean('categorical')
+                          or self._config[section].getboolean('numerical')]
 
         self._dated_features = {}
 
 
         self._dated_features = {}