arya2004 / arya2004/Data-Filtering-Chatbot

Refactor duplicated CSV loading logic

Open
#4 2 comments 0 reactions 1 assignee Claimed by @Meghana-2124 View on GitHub
enhancement good first issue hacktoberfest hacktoberfest-accepted python refactor
Dominant language
Python
Stars
2
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 🧹 Code Cleanup: Remove duplicated CSV loading logic

Both `main()` and `process_submission()` load the same CSV and parse dates.

#### 📌 Suggestion:

* Move the CSV-loading logic into a utility function like `load_input_csv(path)`
* Reuse it wherever needed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.