@artale/pi-datasci

Data science toolkit. Profile datasets, correlation matrices, outlier detection, statistical summaries. CSV/JSON/JSONL support.

Package details

extension

Install @artale/pi-datasci from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@artale/pi-datasci
Package
@artale/pi-datasci
Version
1.0.0
Published
Mar 8, 2026
Downloads
20/mo · 5/wk
Author
artale
License
MIT
Types
extension
Size
21.3 KB
Dependencies
0 dependencies · 0 peers
Pi manifest JSON
{
  "commands": [
    "datasci"
  ],
  "tools": [
    "datasci_profile",
    "datasci_describe",
    "datasci_outliers"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@artale/pi-datasci

First Data Science package in the pi ecosystem.

Profile datasets, compute correlations, detect outliers, generate statistical summaries — all without leaving the terminal.

Install

npm install -g @artale/pi-datasci

Features

  • Statistical profiling — min/max/mean/median/stddev/quartiles per column
  • Type inference — auto-detect numeric, string, boolean, date columns
  • Correlation matrix — Pearson correlation between numeric columns
  • Outlier detection — IQR method with high/low classification
  • Dataset comparison — side-by-side column overlap and stat comparison
  • CSV/JSON/JSONL — auto-detect format, handles quoted fields

Tools

  • datasci_profile — Full statistical profile of a dataset
  • datasci_describe — Quick summary statistics
  • datasci_outliers — Detect outliers per numeric column

Commands

  • /datasci profile <file> — Full profile with all stats
  • /datasci correlate <file> — Correlation matrix
  • /datasci outliers <file> — Outlier detection
  • /datasci sample <file> [n] — Random sample rows
  • /datasci compare <a> <b> — Compare two datasets