🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "pandas"

Found 50 matching component(s)

  • function create_excel_report_improved

    Creates a multi-sheet Excel report from warranty data, including main report, summary view, complete data, references, and statistics sheets with auto-formatted columns.

    File: /tf/active/vicechatdev/improved_convert_disclosures_to_table.py

    excel reporting data-export pandas multi-sheet
  • class MetadataCatalog

    Helper class to manage FileCloud metadata sets and attributes. This class provides methods to work with FileCloud metadata by providing a more user-friendly interface on top of the raw API.

    File: /tf/active/vicechatdev/metadata_catalog.py

    class metadatacatalog
  • function create_excel_report

    Creates a multi-sheet Excel report from warranty data, including main report, summary view, complete data, and statistics sheets with auto-formatted columns.

    File: /tf/active/vicechatdev/convert_disclosures_to_table.py

    excel reporting data-export pandas openpyxl
  • class DocumentDetail

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_backup.py

    class documentdetail
  • function quick_clean

    Cleans flock data by identifying and removing flocks that have treatment records with timing inconsistencies (treatments administered outside the flock's start/end date range).

    File: /tf/active/vicechatdev/quick_cleaner.py

    data-cleaning data-quality flock-management livestock poultry
  • class DocumentProcessor_v4

    Process different document types for RAG context extraction

    File: /tf/active/vicechatdev/offline_docstore_multi_vice.py

    class documentprocessor
  • class DocumentDetail_v1

    Document detail view component

    File: /tf/active/vicechatdev/document_detail_old.py

    class documentdetail
  • function load_analysis_data

    Loads CSV dataset(s) into pandas DataFrames based on dataset configuration, supporting both single dataset loading and comparison mode with two datasets.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-loading csv pandas file-io data-analysis
  • function create_data_quality_dashboard

    Creates an interactive command-line dashboard for analyzing data quality issues in treatment timing data, specifically focusing on treatments administered outside of flock lifecycle dates.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-quality dashboard interactive menu-driven timing-analysis
  • function analyze_flock_type_patterns

    Analyzes and prints timing pattern statistics for flock data by categorizing issues that occur before start time and after end time, grouped by flock type.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-analysis pandas timing-patterns flock-management aggregation
  • function analyze_problematic_products

    Analyzes and prints statistical information about products involved in severe timing issues, including product frequency counts and their associated diagnostic classes.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-analysis healthcare medical-products timing-issues diagnostic-analysis
  • function show_problematic_flocks

    Analyzes and displays problematic flocks from a dataset by identifying those with systematic timing issues in their treatment records, categorizing them by severity and volume.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-quality reporting diagnostics livestock-management data-validation
  • function compare_datasets

    Analyzes and compares two pandas DataFrames containing flock data (original vs cleaned), printing detailed statistics about removed records, type distributions, and impact assessment.

    File: /tf/active/vicechatdev/data_quality_dashboard.py

    data-quality comparison analysis reporting statistics
  • class DocumentProcessor_v5

    Process different document types for RAG context extraction

    File: /tf/active/vicechatdev/offline_docstore_multi.py

    class documentprocessor
  • class DocumentProcessor_v7

    Process different document types for indexing

    File: /tf/active/vicechatdev/docchat/document_indexer.py

    class documentprocessor
  • function test_excel_output

    A test function that validates Excel output generation for contract analysis results, ensuring new fields (third_party_emails, third_party_tax_ids) are properly formatted and persisted.

    File: /tf/active/vicechatdev/contract_validity_analyzer/test_excel_output.py

    testing unit-test excel data-validation contract-analysis
  • function test_european_csv

    A test function that validates the ability to read and parse European-formatted CSV files (semicolon delimiters, comma decimal separators) and convert them to proper numeric types.

    File: /tf/active/vicechatdev/vice_ai/test_regional_formats.py

    testing csv european-format data-parsing unit-test
  • function test_us_csv

    A unit test function that validates the smart_read_csv function's ability to correctly parse US-formatted CSV files with comma delimiters and point decimal separators.

    File: /tf/active/vicechatdev/vice_ai/test_regional_formats.py

    testing unit-test csv data-parsing us-format
  • function test_european_with_thousands

    A unit test function that validates the smart_read_csv function's ability to correctly parse European-formatted CSV files with thousand separators (dots) and decimal commas.

    File: /tf/active/vicechatdev/vice_ai/test_regional_formats.py

    testing unit-test csv-parsing european-format number-formatting
  • function test_us_with_thousands

    A unit test function that validates the smart_read_csv function's ability to correctly parse US-formatted CSV files containing numbers with thousand separators (commas) and decimal points.

    File: /tf/active/vicechatdev/vice_ai/test_regional_formats.py

    testing unit-test csv-parsing data-validation number-formatting
  • function test_tab_delimited_european

    A unit test function that validates the smart_read_csv function's ability to correctly parse tab-delimited CSV files containing European-style decimal numbers (using commas instead of periods).

    File: /tf/active/vicechatdev/vice_ai/test_regional_formats.py

    testing unit-test csv-parsing european-decimals tab-delimited
  • class AgentExecutor

    Agent-based script executor that generates standalone Python files, manages dependencies, and provides iterative debugging capabilities

    File: /tf/active/vicechatdev/vice_ai/agent_executor.py

    class agentexecutor
  • class ScriptExecutor

    A sandboxed Python script executor that safely runs user-provided Python code with timeout controls, security restrictions, and isolated execution environments for data analysis tasks.

    File: /tf/active/vicechatdev/vice_ai/script_executor.py

    sandbox script-execution security code-validation data-analysis
  • function convert_european_decimals

    Detects and converts numeric data with European decimal format (comma as decimal separator) to standard format (dot as decimal separator) in a pandas DataFrame, handling mixed formats and missing data patterns.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    data-processing data-cleaning decimal-conversion european-format locale-handling
  • function smart_read_csv

    Automatically detects CSV file delimiters (comma, semicolon, tab) and handles regional decimal formats (European comma vs US/UK point) to reliably parse CSV files from different locales.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    csv data-loading file-parsing delimiter-detection regional-formats
  • function extract_excel_metadata

    Extracts comprehensive metadata from Excel files including cell comments, merged regions, named ranges, document properties, and sheet-level information that standard pandas operations miss.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    excel metadata openpyxl data-extraction spreadsheet
  • function validate_sheet_format

    Analyzes Excel sheet structure using multiple heuristics to classify it as tabular data, information sheet, or mixed format, returning quality metrics and extraction recommendations.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    data-validation excel-processing sheet-classification data-quality heuristic-analysis
  • function detect_table_boundaries

    Detects distinct tables within a pandas DataFrame by identifying empty rows as table boundaries and returns metadata about each detected table region.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    data-processing excel table-detection boundary-detection pandas
  • function extract_table_as_markdown

    Extracts a specified row range from a pandas DataFrame and converts it into a properly formatted markdown table with automatic header detection and data cleaning.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    markdown table-formatting data-conversion pandas dataframe
  • function extract_sheet_context

    Extracts comprehensive text context from Excel DataFrame sheets that contain mixed structured and unstructured content, converting them into markdown-formatted text while preserving table structures, key-value pairs, and section headers.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    excel-processing data-extraction markdown-generation text-parsing table-detection
  • function read_excel_file

    Reads Excel files and returns either metadata for all sheets or detailed data for a specific sheet, including format validation, European decimal conversion, and rich metadata extraction.

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    excel data-loading pandas file-io validation
  • class SmartStatService

    Service for running SmartStat analysis sessions in Vice AI

    File: /tf/active/vicechatdev/vice_ai/smartstat_service.py

    class smartstatservice
  • class DocumentProcessor_v6

    Lightweight document processor for chat upload functionality

    File: /tf/active/vicechatdev/vice_ai/document_processor.py

    class documentprocessor
  • function clean_for_json_v1

    Recursively traverses nested data structures (dicts, lists) and replaces NaN and Infinity float values with None to ensure JSON serialization compatibility.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    json serialization data-cleaning nan-handling infinity-handling
  • function upload_data_section_dataset

    Flask API endpoint that handles CSV file uploads for data section analysis, processes the file, extracts metadata, and stores it in the data section for persistence.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    file-upload csv-processing data-analysis authentication api-endpoint
  • function smartstat_workspace

    Flask route handler that opens a SmartStat statistical analysis workspace for a specific data section, managing session creation, data restoration, and access control.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask-route web-handler statistical-analysis session-management data-restoration
  • function smartstat_upload_data

    Flask route handler that uploads CSV or Excel data files to a SmartStat analysis session, with support for multi-sheet Excel files and session recovery.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask file-upload csv excel data-analysis
  • function smartstat_select_sheet

    Flask API endpoint that processes one or more Excel sheets from an uploaded file, validates them, categorizes them as datasets or information sheets, and adds them to a SmartStat analysis session.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    excel data-loading sheet-selection api-endpoint authentication
  • function smartstat_run_analysis

    Flask API endpoint that initiates a SmartStat statistical analysis in a background thread, tracking progress and persisting results to a data section.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api-endpoint background-processing statistical-analysis async
  • class Config

    Configuration class that manages application-wide settings, directory structures, API keys, and operational parameters for a statistical analysis application.

    File: /tf/active/vicechatdev/vice_ai/smartstat_config.py

    configuration settings flask api-keys directory-management
  • class DataAnalysisService

    Service class for managing data analysis operations within document sections, integrating with SmartStat components for statistical analysis, dataset processing, and visualization generation.

    File: /tf/active/vicechatdev/vice_ai/data_analysis_service.py

    data-analysis statistical-analysis session-management dataset-processing visualization
  • function clean_nan_for_json

    Recursively traverses nested data structures (dicts, lists) and converts NaN, null, and invalid numeric values to None for safe JSON serialization.

    File: /tf/active/vicechatdev/vice_ai/data_analysis_service.py

    json-serialization data-cleaning nan-handling recursive data-preprocessing
  • function create_test_dataset

    Creates a test CSV dataset with sample product sales data across different regions and months, saving it to a temporary file.

    File: /tf/active/vicechatdev/vice_ai/test_integration.py

    testing test-data csv dataset-generation synthetic-data
  • class StatisticalAgent

    LLM-powered statistical analysis agent

    File: /tf/active/vicechatdev/vice_ai/statistical_agent.py

    class statisticalagent
  • function remove_outliers_iqr

    Removes outliers from a pandas DataFrame column using the Interquartile Range (IQR) method with a conservative 3*IQR threshold.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/42b81361-ba7e-4d79-9598-3090af68384b/analysis_2.py

    data-cleaning outlier-detection IQR interquartile-range data-preprocessing
  • function remove_outliers_iqr_v1

    Removes outliers from a pandas DataFrame column using the Interquartile Range (IQR) method with a 3×IQR threshold.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/42b81361-ba7e-4d79-9598-3090af68384b/project_1/analysis.py

    data-cleaning outlier-detection IQR interquartile-range statistics
  • function clean_for_json_v4

    Recursively traverses nested data structures (dicts, lists, arrays) and converts NaN and Inf float values to None for safe JSON serialization, while also converting NumPy types to native Python types.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/7372154d-807e-4723-a769-4668761944b5/analysis_2.py

    json serialization data-cleaning numpy nan-handling
  • function clean_for_json_v11

    Recursively sanitizes Python objects (dicts, lists, floats) to make them JSON-serializable by replacing NaN and infinity float values with None.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/f5da873e-41e6-4f34-b3e4-f7443d4d213b/analysis_4.py

    json serialization data-cleaning nan-handling infinity-handling
  • function remove_outliers

    Removes outliers from a pandas DataFrame based on the Interquartile Range (IQR) method for a specified column.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/f5da873e-41e6-4f34-b3e4-f7443d4d213b/analysis_5.py

    data-cleaning outlier-detection IQR interquartile-range data-preprocessing
  • function calculate_cv_v2

    Calculates the coefficient of variation (CV) for a group of numerical values, expressed as a percentage.

    File: /tf/active/vicechatdev/vice_ai/smartstat_scripts/f5da873e-41e6-4f34-b3e4-f7443d4d213b/analysis_5.py

    statistics coefficient-of-variation cv variability dispersion

Search Examples