Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍
https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
632 B
24 lines
632 B
4 years ago
|
"""
|
||
|
config for datetime formatting
|
||
|
"""
|
||
|
from pandas._config import config as cf
|
||
|
|
||
|
pc_date_dayfirst_doc = """
|
||
|
: boolean
|
||
|
When True, prints and parses dates with the day first, eg 20/01/2005
|
||
|
"""
|
||
|
|
||
|
pc_date_yearfirst_doc = """
|
||
|
: boolean
|
||
|
When True, prints and parses dates with the year first, eg 2005/01/20
|
||
|
"""
|
||
|
|
||
|
with cf.config_prefix("display"):
|
||
|
# Needed upstream of `_libs` because these are used in tslibs.parsing
|
||
|
cf.register_option(
|
||
|
"date_dayfirst", False, pc_date_dayfirst_doc, validator=cf.is_bool
|
||
|
)
|
||
|
cf.register_option(
|
||
|
"date_yearfirst", False, pc_date_yearfirst_doc, validator=cf.is_bool
|
||
|
)
|