-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up unused methods. Prepare for file_system argument. #315
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #315 +/- ##
=======================================
Coverage 93.84% 93.85%
=======================================
Files 58 58
Lines 2048 2049 +1
=======================================
+ Hits 1922 1923 +1
Misses 126 126 ☔ View full report in Codecov by Sentry. |
Click here to view all benchmarks. |
Part of this change is to read CSVs with pandas with an already-open file handle. I think this means that we don't need to change the headers inside |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
Tested locally, and everything is working perfectly! |
Co-authored-by: Konstantin Malanchev <hombit@gmail.com>
Change Description
Closes #301
Accomplishes a few clean-ups that I noticed in the course of implementing issue #307. To reduce that PR, I'm splitting them off.
write_parquet_metadata
had previously been moved. removes the soft links.load_csv_to_pandas_generator
where the generator method owns the file connection, and it stays within the generator method.file_system
, then passes along to pandas. This avoids many inconsistencies with panda's file operations.read_parquet_file
was only called within unit tests. removes the method