What is the use of the Path() function on any dataset, for example IMDB dataset.
path=Path(‘IMDB.csv’)
What does the path function do here?
Thanks
What is the use of the Path() function on any dataset, for example IMDB dataset.
path=Path(‘IMDB.csv’)
What does the path function do here?
Thanks
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.