Skip to content

Feat/csv source#3

Merged
dawidlinek merged 4 commits into
mainfrom
feat/csv-source
Dec 27, 2025
Merged

Feat/csv source#3
dawidlinek merged 4 commits into
mainfrom
feat/csv-source

Conversation

@dawidlinek

@dawidlinek dawidlinek commented Dec 27, 2025

Copy link
Copy Markdown
Owner

@copilot review and write summary

Copilot AI left a comment

Copy link
Copy Markdown

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 CsvSource data source that enables loading time-series data from CSV files. The implementation provides a consistent interface for fetching time-based data with support for custom datetime formats, column selection, separators, and automatic timezone handling.

Key Changes:

  • New CsvSource class with configurable CSV parsing and datetime handling
  • Comprehensive test suite with 20+ test cases covering initialization, data loading, fetching, and edge cases
  • Integration into the data sources module with proper exports

Reviewed changes

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

File Description
epftoolbox2/data/sources/csv_source.py New CsvSource class implementation with CSV loading, validation, and data fetching capabilities
tests/data/sources/test_csv_source.py Comprehensive test suite covering initialization, data loading, fetch operations, and edge cases
epftoolbox2/data/sources/__init__.py Added CsvSource to module exports for public API access

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/data/sources/test_csv.py
Comment thread tests/data/sources/test_csv.py
Comment thread epftoolbox2/data/sources/csv_source.py Outdated
Comment thread tests/data/sources/test_csv.py
Comment thread epftoolbox2/data/sources/csv_source.py Outdated
Comment thread epftoolbox2/data/sources/csv.py
Comment thread epftoolbox2/data/sources/csv_source.py Outdated
Comment thread epftoolbox2/data/sources/csv.py
Comment thread epftoolbox2/data/sources/csv.py
Comment thread epftoolbox2/data/sources/csv_source.py Outdated
@dawidlinek
dawidlinek merged commit 86c8623 into main Dec 27, 2025
5 checks passed
@dawidlinek
dawidlinek deleted the feat/csv-source branch December 27, 2025 13:52
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