Skip to content

feat(summarize_dataframe_template): add summarize_dataframe_template …#368

Merged
fangliu117 merged 2 commits intodevfrom
template_summarize_dataframe
Aug 2, 2025
Merged

feat(summarize_dataframe_template): add summarize_dataframe_template …#368
fangliu117 merged 2 commits intodevfrom
template_summarize_dataframe

Conversation

@fangliu117
Copy link
Collaborator

…function and unit tests

Copilot AI review requested due to automatic review settings August 2, 2025 14:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new feature that adds a summarize_dataframe_template function with comprehensive unit tests. The template provides platform-agnostic DataFrame summarization functionality that replicates NIDAP template behavior.

  • Adds a new template function for DataFrame summarization with JSON parameter support
  • Includes comprehensive unit tests covering various input/output scenarios and edge cases
  • Provides both file-based and in-memory workflow support with configurable saving options

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/spac/templates/summarize_dataframe_template.py Main template implementation with JSON parameter parsing, DataFrame loading, and visualization output
tests/templates/test_summarize_dataframe_template.py Comprehensive unit test suite covering I/O workflows, function calls, pickle inputs, and parameter defaults

@fangliu117 fangliu117 merged commit d542f1a into dev Aug 2, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants