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.3.0.tar.gz (61.3 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.3.0-py3-none-any.whl (60.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: npms_toolkit-0.3.0.tar.gz
  • Upload date:
  • Size: 61.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 49b5539051ba958c682a97c193ad27e3b46c19db149dd199e47a4304960c6efc
MD5 cdca7415ee68dfab75397869b713427c
BLAKE2b-256 66cc9013bae75936c92c6665a22424b9d83a7423cf867fb4d1cf6473d7275c1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: npms_toolkit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 60.7 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37b58c4cd76a3a23153db18356e4b225db691977e63d41a9154a18e62fa47709
MD5 434d500b8a632cf5499367b8b03932d7
BLAKE2b-256 335d92abc8624e63f0643a0933548f69e18b6e3ed70fd833a0d3ce3e65308115

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