返回 Skill 列表
extension
分类: 开发与工程无需 API Key

loading-datasets

加载内部CausalPy示例数据集。当用户需要示例数据或询问可用的演示时使用。

person作者: jakexiaohubgithub

Loading Datasets

Loads example datasets provided with CausalPy.

Usage

import causalpy as cp
df = cp.load_data("dataset_name")

Available Datasets

| Key | Description | | :--- | :--- | | did | Generic Difference-in-Differences | | its | Generic Interrupted Time Series | | sc | Generic Synthetic Control | | banks | DiD (Banks) | | brexit | Synthetic Control (Brexit) | | covid | ITS (Covid) | | drinking | Regression Discontinuity (Drinking Age) | | rd | Generic Regression Discontinuity | | geolift1 | GeoLift (Single cell) | | geolift_multi_cell | GeoLift (Multi cell) |