AvinashYerra opened a new pull request, #1444:
URL: https://github.com/apache/hamilton/pull/1444

   This PR fixes the #1418 to remove the deprecated pandas CSV reader args. 
Fixed by adding a variable for identifying the pandas version and updated the 
functions to add them into kwargs only the version is less than 2.0
   
   ## Changes
   - Updated usage of deprecated pandas CSV parameters:
     - keep_date_col
     - verbose
     - delim_whitespace
   - Ensures compatibility with newer pandas versions (≥ 2.x).
   - Eliminates deprecation warnings observed.
   ## How I tested this
    - Ran the test suite with pytest
   ## Checklist
   - [Y] PR has an informative and human-readable title (this will be pulled 
into the release notes)
   - [ ] Changes are limited to a single goal (no scope creep)
   - [ ] Code passed the pre-commit check & code is left cleaner/nicer than 
when first encountered.
   - [ ] Any _change_ in functionality is tested
   - [ ] New functions are documented (with a description, list of inputs, and 
expected output)
   - [ ] Placeholder code is flagged / future TODOs are captured in comments
   - [ ] Project documentation has been updated if adding/changing 
functionality.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to