Hi all,
I am new to this forum and i am learning python coding. I tried to upload .CSV file from my computer with the following code but i am getting
NAMEERROR: name 'upload' is not defined
Here is the code i've written in my Google Colab
I am new to this forum and i am learning python coding. I tried to upload .CSV file from my computer with the following code but i am getting
NAMEERROR: name 'upload' is not defined
Here is the code i've written in my Google Colab
from google.colab import files uploaded = files.upload()after that i uploaded my .csv file from computer
import pandas as pd import io df = pd.read_csv((io.BytesIO)(upload[file.csv]))when i run this code i am getting NameError: name 'upload' is not defined
buran write Nov-21-2023, 12:56 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.