After selecting this command df = pd.read_csv(filename, names - headers), in the console window the following is displayed. (Note do to its size just capturing a few lines of the head and tail. →
I get you are working with Python in JupyterLab, but Jupyter doesn’t seem to the be issue here. (Although even that that is hard to tell from the sparse information here, see more about that below.)
Please, consider if this is pertinent to this forum about Jupyter? If you ran this Python code in a more traditional way, such as in the console or as the content of a script you called from the command line for Python to run, would it give the same outcome? (If you are new to running Python code, you may not be able to do this exercise in your mind, and should actually step through the exercise of doing that.) If so, it isn’t a Jupyter issue and so not pertinent to this forum. You’ll want to seek help in a pertinent location.
This doesn’t seem to add up because you reference a filename and the error you are showing in the image is referencing using HTTP connections and the request package? Very hard to tell what is happening with what is provided. More on that below…
Minor:
What you have provided would not be suitable for most of forums such as this. This will be important for you when you do find the correct place to post this.
We don’t have access to the file named by filename. Next time you have something to post in the appropriate forum, please consider the next section in regards to sharing a minimal reproducible example and actually sharing code and outcomes and not images…
For future reference, please see and follow Getting good answers to your questions . That quick overview has a link at the bottom to a thorough guide here’ How do I ask a good question?’ that is very suitable for forums like this one. Under the bold subheading ’ Help others reproduce the problem’ in bold it emphasizes ** DO NOT post images of code, data, error messages, etc*. That section links to ‘Why should I not upload images of code/data/errors?’ that should provide more detail of why your posted image is not very helpful. If it is too long you can post a significant portion here and put all of it in a Github gist or other code snipper sharing site and refer us to that for more information.
There’s rarely a reason to use a just image and write in forums such as this where you are seeking help: “Note do to its size just capturing a few lines of the head and tail.”
