Meridian GeoX is now available. Run geo experiments to calibrate your MMM.
Get started here
Send feedback
Module: meridian.data.time_coordinates
Stay organized with collections
Save and categorize content based on your preferences.
Deals with coordinate values in the time dimensions of input data.
Classes
class TimeCoordinates : A wrapper around time coordinates in Meridian's input data.
Functions
normalize_date(...) : Normalizes the given date value into a datetime.date or None.
normalize_date_interval(...) : Normalizes representations of a date interval into a tuple of dates.
normalize_date_str(...) : Extracts the 'YYYY-MM-DD' prefix string from a date coordinate or string.
normalize_times(...) : Returns a list of normalized 'YYYY-MM-DD' date strings from times.
normalize_times_set(...) : Returns a set of normalized 'YYYY-MM-DD' date strings from times.
validate_selected_times(...) : Raises an error if selected_times is invalid.
validate_time_coordinates(...) : Validates that time follows the same rules as InputData.time .
Type Aliases
DateInterval
Other Members
Date
Instance of types.UnionType
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-05 UTC."],[],[]]