Write a basic function that returns a LazyFrame for single string path to a .psv file, and a function that takes in a path to a FOLDER of .psv file and returns a DICTIONARY of {name: LazyFrame} pairs.
Look into the data loading branch and use the code in it. Please look into that branch, and
[x] remove the extra files in nhs.utils and only keep the path and string files
[x] Remove @curry decorator
[x] Check that the types and doc-string are appropriate
[x] Add pytest tests for list_files, read_psv_files etc (you don't need to test the function that simply reads ONE psv)
let me know if you are stuck on making the test, this will require you to use mockers! Actually I'll do this it'll be quicker
Write a basic function that returns a
LazyFrame
for single string path to a.psv
file, and a function that takes in a path to a FOLDER of.psv
file and returns a DICTIONARY of{name: LazyFrame}
pairs.Look into the data loading branch and use the code in it. Please look into that branch, and
nhs.utils
and only keep the path and string files@curry
decoratorpytest
tests forlist_files
,read_psv_files
etc (you don't need to test the function that simply reads ONEpsv
)let me know if you are stuck on making the test, this will require you to useActually I'll do this it'll be quickermocker
s!