pandas-dataframe-schema-enforcer

Validates and transforms Pandas DataFrames using Pandera schema definitions, supporting column-level dtypes, nullability, and custom check constraints, and can auto-generate Pandera schema code from example DataFrames.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pandas-dataframe-schema-enforcer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0a8b988133bb1d6229efac48ff491b5b3d8ae535eb9205dda49768243e879ce8. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/pandas-dataframe-schema-enforcer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Validates and transforms Pandas DataFrames using Pandera schema definitions, supporting column-level dtypes, nullability, and custom check constraints, and can auto-generate Pandera schema code from example DataFrames.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Pandas DataFrame 模式强制器"
slug: "pandas-dataframe-schema-enforcer"
version: "1.0.0"
displayName: "Pandas DataFrame 模式强制器"
summary: "使用Pandera模式定义来验证和转换Pandas DataFrames,支持列级别的dtype、可空性和自定义检查约束。从示例DataFrames自动生成Pandera模式代码。"
license: "MIT"
description: "使用Pandera模式定义来验证和转换Pandas DataFrame,支持列级别的数据类型、可空性和自定义检查约束。从示例DataFrame自动生成Pandera模式代码。"
github_stars: 48498
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Data Extraction & Transformation"
framework: "ChatGPT Agents"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 48498

Pandas DataFrame 模式强制器

Validates and transforms Pandas DataFrames using Pandera schema definitions with column-level dtype, nullable, and custom check constraints. Auto-generates Pandera schema code from sample DataFrames.

Installation

Use the upstream install or setup path that matches your environment:

  • conda install -c conda-forge pandas
  • pip install pandas
  • pip install cython
  • pip install .

Requirements and caveats from upstream:

  • pandas: A Powerful Python Data Analysis Toolkit

  • pandas is a Python package that provides fast, flexible, and expressive data
  • doing practical, real-world data analysis in Python. Additionally, it has

Basic usage or getting-started notes:

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 Pandas DataFrame 的模式验证与转换能力,具有明确的技术实用价值
  • 支持列级别的 dtype、可空性和自定义检查约束,并能自动生成 Pandera 模式代码
Trigger Precision85/100

Highlights

  • description 字段清晰说明了核心功能,触发词覆盖合理,边界清晰
Structure and Standards68/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    Skill 缺少 When to Use 章节和端到端的执行示例,用户难以理解具体使用场景和执行流程

    Recommendation: 建议补充 When to Use 章节,说明适用场景,并提供端到端的 Phase/步骤划分和示例

Highlights

  • Installation 章节提供了多种安装方式和依赖项说明
  • frontmatter 完整,文档结构基本清晰
Execution Reliability62/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未覆盖主要异常情况(如安装失败、依赖冲突、DataFrame 格式错误等),也未提供不可逆操作的确认机制

    Recommendation: 建议补充异常处理说明,覆盖常见错误场景,并为不可逆操作添加确认机制

Highlights

  • 工具来源明确(pandas、Pandera),参数说明基本正确
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 27, 28, 29
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • cython.org
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.