1
$\begingroup$

the csv file was added in the Quantum Lab Screenshot of what I am doing

I uploaded a CSV file using import in Quantum Computing Lab folder. It is uploaded, I can see it. When I write "import filename" in my notebook, it shows an error. I have tried doing the same in my local PC. It is working fine. What am I doing wrong? Is there any other way to upload a CSV file and use it?

$\endgroup$
4
  • $\begingroup$ It might help if you add the code you are running and the error you are getting. Loading a CSV file is not done with import csv_file (see docs.python.org/3/library/csv.html) so I'm a bit lost here. $\endgroup$
    – luciano
    Dec 23 '20 at 16:16
  • $\begingroup$ @luciano I added screenshots with the code, error and uploaded file. Hope that helps $\endgroup$ Dec 24 '20 at 3:51
  • $\begingroup$ As explained in quantumcomputing.stackexchange.com/a/15272/1859, you have a spelling mistake. $\endgroup$
    – luciano
    Dec 27 '20 at 7:33
  • 4
    $\begingroup$ I’m voting to close this question because is off-topic. $\endgroup$
    – luciano
    Dec 27 '20 at 7:36
0
$\begingroup$

So I went to the IBM Quantum Experience to download a calibration data for Valencia just to have csv file. enter image description here

Then I was able to read it in the Jupyter notebook through the IBM Quantum Lab environment as shown below:

enter image description here

$\endgroup$
0
$\begingroup$

File names are case sensitive. Shared_capstone_Model_csv.csv is not the same as Shared_Capstone_Model_csv.csv. Change open code for Shared_Capstone_Model_csv.csv (note the C in Capstone).

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.