Use path function

What is the use of the Path() function on any dataset, for example IMDB dataset.

What does the path function do here?


Can anyone answer this? I have the same doubt.

It’s not a function, it’s an object constructor. Go and read up on the pathlib library. Basically it’s object orientated file/folder paths.

1 Like