X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/predictops.git/blobdiff_plain/90e69cb2125d4bae76a27b9c38defb4f70bf2ca6..refs/heads/master:/predictops/source/ramadan.py?ds=sidebyside diff --git a/predictops/source/ramadan.py b/predictops/source/ramadan.py index 6836df1..e0875d2 100644 --- a/predictops/source/ramadan.py +++ b/predictops/source/ramadan.py @@ -22,8 +22,9 @@ class Ramadan: # 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 = {}