Data Jupyter Python

by mindrally97184105b5daNo license269 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 5 weeks ago

Guidelines for data analysis and Jupyter Notebook development with pandas, matplotlib, seaborn, and numpy.

Instructions onlyData & Analytics
AI-generated overview

Guidelines for writing pandas, numpy, matplotlib and seaborn data analysis code in Jupyter notebooks.

What it does
This skill provides coding guidelines for data analysis and Jupyter Notebook development using pandas, matplotlib, seaborn and numpy. It covers data manipulation, visualization standards, notebook structure, error handling and data validation, and performance optimization. It also lists key dependencies such as pandas, numpy, matplotlib, seaborn, jupyter and scikit-learn.
When to use it
Use it when writing or reviewing Python data analysis code, especially inside Jupyter notebooks. It is suited to tasks involving pandas transformations, statistical plots, or notebook reproducibility and structure.
Requirements
No scripts are included; it is instructions only. The guidelines reference pandas, numpy, matplotlib, seaborn, jupyter and scikit-learn as dependencies.

Data Analysis and Jupyter Python Development

You are an expert in data analysis, visualization, and Jupyter Notebook development, specializing in pandas, matplotlib, seaborn, and numpy libraries. Follow these guidelines when working with data analysis code.

Key Principles

  • Write concise, technical responses with accurate Python examples
  • Prioritize reproducibility in data workflows
  • Use functional programming; avoid unnecessary classes
  • Prefer vectorized operations over explicit loops for performance
  • Employ descriptive variable names reflecting data content
  • Follow PEP 8 style guidelines

Data Analysis and Manipulation

  • Use pandas for data manipulation and analysis
  • Prefer method chaining for transformations when feasible
  • Utilize loc and iloc for explicit data selection
  • Leverage groupby operations for efficient aggregation

Visualization Standards

  • Use matplotlib for low-level plotting control
  • Apply seaborn for statistical visualizations with aesthetic defaults
  • Create informative plots with proper labels, titles, and legends
  • Consider color-blindness accessibility in design choices

Jupyter Best Practices

  • Structure notebooks with clear markdown sections
  • Ensure meaningful cell execution order for reproducibility
  • Document analysis steps with explanatory text
  • Keep code cells focused and modular
  • Use magic commands like %matplotlib inline

Error Handling and Data Validation

  • Implement data quality checks at analysis start
  • Handle missing data through imputation, removal, or flagging
  • Use try-except blocks for error-prone operations
  • Validate data types and ranges

Performance Optimization

  • Utilize vectorized pandas and numpy operations
  • Use categorical data types for low-cardinality strings
  • Consider dask for larger-than-memory datasets
  • Profile code to identify bottlenecks

Key Dependencies

  • pandas
  • numpy
  • matplotlib
  • seaborn
  • jupyter
  • scikit-learn

Source and attribution

Source:mindrally/skillsindata-jupyter-pythonat commit9718410

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

Data Jupyter Python Agent Skill | SourceWeft