Assuming I have a list of unknown length. How would I join all elements of this list to my current path using pathlib?
from pathlib import Path
Path.joinpath(Path(os.getcwd()).parents[1] , *["preprocessing", "raw data"])
This is not working because the function expects strings not tuples.