GEMINI.md for Python Data Science Projects — Gemini Rules | Neura Market
    Neura MarketNeura Market/Gemini
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityGemsExtensionsTrendingGenerate
    GeminiRulesGEMINI.md for Python Data Science Projects
    Back to Rules
    Data Analysis

    GEMINI.md for Python Data Science Projects

    Community April 23, 2026
    0 copies 0 downloads

    A GEMINI.md configuration for Python data science projects covering code organization, data handling, modeling best practices, and notebook standards.

    Rule Content
    # Project: [PROJECT NAME]
    ## Data Science Project
    
    ## General Instructions
    - Python 3.11+ with type hints on all function signatures
    - Use numpy docstring format for all public functions
    - Prefer pandas for tabular data, polars for performance-critical paths
    - Use pathlib.Path instead of string paths
    - All data transformations should be reproducible (set random seeds, log parameters)
    
    ## Code Organization
    - `src/` — source code modules
    - `notebooks/` — exploration only, never production code
    - `data/raw/` — immutable original data (never modify)
    - `data/processed/` — cleaned/transformed data
    - `models/` — trained model artifacts
    - `tests/` — unit and integration tests
    
    ## Data Handling
    - Never hardcode file paths — use config or environment variables
    - Log data shape and basic stats at each transformation step
    - Validate data schema on load (use pandera or pydantic)
    - Document all assumptions about data quality
    
    ## Modeling
    - Always establish a baseline model before complex approaches
    - Track experiments with MLflow or Weights & Biases
    - Report metrics with confidence intervals, not point estimates
    - Include feature importance in model outputs
    
    ## Notebooks
    - Clear narrative flow: question → data → analysis → conclusion
    - Each cell should have a purpose (no "scratch" cells in committed notebooks)
    - Use markdown headers to structure the story
    - Display data shapes after transformations

    Tags

    pythondata-scienceconfigurationgemini-cli

    Comments

    More Rules

    View all
    Development

    Gemini API Structured Output Rules

    System instructions for Gemini API to produce reliable JSON structured output with schema validation, enum constraints, and grounding.

    C
    Community
    Coding

    Code Review Gem

    A Gemini Gem for code review with priority-rated findings (Must Fix/Should Fix/Consider), security checks, and constructive feedback approach.

    N
    Neura Market
    Coding

    GEMINI.md for Next.js App Router Projects

    A GEMINI.md configuration for Next.js 15 App Router projects covering Server Components, data fetching patterns, and performance best practices.

    C
    Community
    Business

    Customer Support Agent Gem

    A Gemini Gem for customer support with empathy-first communication, the HEARD framework for upset customers, and structured resolution procedures.

    N
    Neura Market
    Coding

    Gemini API System Instructions Template

    A structured template for Gemini API system instructions covering identity, behavioral rules, output format, grounding, and safety guidelines.

    G
    Google AI
    Marketing

    Content Strategist Gem

    A Gemini Gem for content strategy that connects content plans to business metrics with SEO-informed topic prioritization and distribution strategy.

    N
    Neura Market

    Stay up to date

    Get the latest Gemini prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Gemini and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.