Skip to main content

Natural language code generator for pandas, numpy, scikit-learn, seaborn and matplotlib — no docs needed.

Project description

NPMS Toolkit

A natural language code generator for pandas, numpy, scikit-learn, seaborn and matplotlib — no docs needed.

Install

pip install npms-toolkit

Usage

import npms

# Describe what you want — get the exact code
npms.help("fill missing values in Age with median")
npms.help("train a random forest with 200 trees")
npms.help("plot correlation heatmap")
npms.help("detect outliers using IQR")
npms.help("hyperparameter tuning with grid search")
npms.help("chi square test between Gender and Survived")

# Pass your actual dataframe — uses your real column names
import pandas as pd
df = pd.read_csv("data.csv")
npms.help("fill missing values with median", df)
npms.help("encode categorical columns", df)

# See all available topics
npms.help()

What it covers

Category Topics
Pandas info, clean, fill missing, drop, rename, filter, sort, groupby, merge, encode, scale, pivot, rolling, melt, outliers, datetime, string ops, and more
NumPy arrays, reshape, normalize, dot product, SVD, eigenvalues, broadcasting, linear algebra, and more
Scikit-learn all ML models, train/test split, evaluate, confusion matrix, cross-validation, grid search, PCA, SMOTE, learning curve, and more
Visualization heatmap, scatter, histogram, boxplot, pairplot, ROC curve, subplots, 3D plots, and more
Statistics t-test, chi-square, ANOVA, normality test

Versioning

Version What's new
0.1.0 Initial release — basic pandas, numpy, sklearn, viz
0.2.0 Advanced queries: rolling windows, outliers, PCA, grid search, SMOTE, statistical tests, 3D plots, SVD, eigenvalues

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

npms_toolkit-0.2.0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npms_toolkit-0.2.0-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file npms_toolkit-0.2.0.tar.gz.

File metadata

  • Download URL: npms_toolkit-0.2.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for npms_toolkit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 514897f8b2b1b4393a4c2174374c2a13f9ec9699c9b43437964166720b3b8d18
MD5 a8487b3213bc7068310e871d9098da47
BLAKE2b-256 454327110f2b0ee6c4a564d642f1bfac7f3b721c958edb24eea1d47e1fc38e0b

See more details on using hashes here.

File details

Details for the file npms_toolkit-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: npms_toolkit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for npms_toolkit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b892c5a40807bc579b542cf289ab0444defcefe4afae483f34b3f3eafb86501
MD5 0735eb197c80892dc0d2bd637fdeaf72
BLAKE2b-256 97b6e381509ad197881d866dbfbc0412a4db53a5b1b29ce16a0bf20cda530563

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page