Module: meridian.data.load
Stay organized with collections
Save and categorize content based on your preferences.
Contains classes and methods to load input data for Meridian.
The InputDataLoader
abstract class defines a single method: load()
which
reads data from any of the supported sources and stores it as an InputData
object.
Classes
class DataFrameDataLoader
: Reads data from a Pandas DataFrame
.
class InputDataLoader
: Loads the data from the specified data format.
class XrDatasetDataLoader
: Reads data from an xarray.Dataset
object.
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 2024-11-14 UTC.
[[["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 2024-11-14 UTC."],[[["This page provides classes and methods for loading input data into the Meridian system."],["The `InputDataLoader` abstract class defines the `load()` method, which is responsible for reading data from various sources and storing it as an `InputData` object."],["`DataFrameDataLoader` loads data from a Pandas `DataFrame` while `XrDatasetDataLoader` loads data from an `xarray.Dataset` object."],["The data loaded will be made from the supported sources."]]],["The core content defines methods and classes for loading input data into the Meridian system. The `InputDataLoader` abstract class features a `load()` method for reading data from supported sources and storing it as `InputData`. Specific implementations include `DataFrameDataLoader`, which reads from Pandas `DataFrame` objects, and `XrDatasetDataLoader`, which handles `xarray.Dataset` objects. These classes provide structured ways to access data from different formats.\n"]]