Resolved: glob.glob function does not work
Tried uploading the YouTube Dataset folder into my Github directory, where I created the notebook.
Still produces an empty array.
Tried
files = glob.glob('youtube-dataset\*.csv')
files = glob.glob('youtube-dataset\\*.csv')
And they both failed.
Hey Kasey,
Thank you for reaching out!
That is a bit strange. Could you please try
files = glob.glob('youtube-dataset/*.csv')
or
files = glob.glob('youtube-dataset//*.csv')
That is, try a forward slash instead of a black slash.
Kind regards,
365 Hristina
Hi, Hristina. Mine got the same problem with Kasey.
My jupyter notebook is in the same folder with youtube-dataset and i tried both of your suggestion but gob function does not work and the output is only empty square brackets []
Hey Aina,
Thank you for reaching out!
Could you please provide a screenshot of both the folder and the code? Mine look as follows:
Kind regards,
365 Hristina