I've worked on this exact problem all day, I went to numerous sources and was at wits end. And you finally provided the answer. Thank you Craig, really appreciate it.
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 6: invalid start byte During handling of the above exception, another exception occurred: UnicodeDecodeError Traceback (most recent call last) getting this error while reading the file
When I put this code in: df = pd.read_csv(io.StringIO(uploaded['Athletes.csv'].decode('utf-8'))), I receive this error message: KeyError Traceback (most recent call last) in () ----> 1 df = pd.read_csv(io.StringIO(uploaded['Athletes.csv'].decode('utf-8'))) KeyError: 'Athletes.csv'. I have followed all instructions on your video, now I get this error message. Could you please tell me what I am doing wrong?
thanks for the videos.. one concern when I uploaded 200MB file it took almost 25 mins..My internet connectivity is good.is there any work around for this?
You can create a numpy array of image data and upload the numpy file instead of uploading a folder.You can create training and testing numpy arrays using the image folder locally. And upload those numpy files in to the colab
I’m not fully understanding the question? Also at the time I made the video I just tried to present methods that seem to work at the time. I understand coding a lot better now.
@@Coopervise yeah, but isn't it a pain if I have to upload my datasets onto the drive, just to get colab to detect it? Do you know an alternative where I don't need to upload my datasets onto the drive?
@@allmightqs1679 The option of using Colab Notebooks is just an option. You could use Jupyter Notebooks if you want to have a longterm connection to your local system. I think more people may worry about security if a Cloud product always was connected to your local drive. Everyone has different use cases. This solution worked for me at the time I made the video & I couldn't find any videos at the time showing how to do this. This doesn't seem like the right solution for you. I specifically discovered this method so I could write code, share the notebook & my coworkers or agency team could run the code on their own datasets. I myself would use Jupyter Notebook if I needed to always connect to my local file.
@@Coopervise yeah, but jupyter don't have the GPU/TPU feature right? That would seriously cripple one's processing time. Do you if there's an environment like colab that provides GPU and at the same time allows access to local files?🙈
@@allmightqs1679 I unfortunately am not sure about this particular feature from a Cloud service. For me just uploading a csv via the code in the video was my approach.
New video tutorial showing how to do style transfers with Google Colab. ruclips.net/video/f1UK8KPt-KU/видео.html
I've worked on this exact problem all day, I went to numerous sources and was at wits end. And you finally provided the answer. Thank you Craig, really appreciate it.
Thank you for the comment. When I made the video I also looked hard for a solution.
This is what , I was searching from last 3 hours , thank you so much for this video . You saved my time 😊
Man, I owe you. Thanks for that.
it worked flawlessly.
My god!!! This saved my day thankyou very much
thank you so much For this video, THANKS A LOT
You helped me thanks
Very nice, Gregg! Thanks a lot!
Thanks man! Solved my problem!
Thanks for the video🤩🤝
thanks a lot for this!!
Great work!!
Thanks a lot, i always want to know how to make it. It is very useful. Regards
Thanks, Dude ! Cool stuff
Made my day! Thanks a lot...
Thanks a lot it is very help full
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 6: invalid start byte
During handling of the above exception, another exception occurred:
UnicodeDecodeError Traceback (most recent call last) getting this error while reading the file
thanks for this very very helpful tutorial
thanks for this video helped me so much
Glad it helped!
Thanks for posting.
Thanks a lot sir, so easy
thank you bro. It's works
When I put this code in: df = pd.read_csv(io.StringIO(uploaded['Athletes.csv'].decode('utf-8'))),
I receive this error message: KeyError Traceback (most recent call last)
in ()
----> 1 df = pd.read_csv(io.StringIO(uploaded['Athletes.csv'].decode('utf-8')))
KeyError: 'Athletes.csv'.
I have followed all instructions on your video, now I get this error message. Could you please tell me what I am doing wrong?
THANKYOU SOOO MUCH 😭😭😭😭😭
Thank you very much for you help
Thanks a lot buddy...you made my day
thanks for the videos..
one concern when I uploaded 200MB file it took almost 25 mins..My internet connectivity is good.is there any work around for this?
Thanks MAN!
Works, Thanks!
you are my hero! thankyou!
Thanks a lot!!
I want to know how you got your date in sample.csv in 01-02-2019 format. I can't change my format it's in 01/02/2019 format
I didn’t do anything to change the date format.
very good demo. thanks,
Thank you!
Thank you so much sir my problem solve
nice! and Can I make csv to tfrecord file?
THANK YOU!!!!!!
whats the steps for uploading excel file
I am able to print only 4 rows ,how can i print the whole sheet
Sorry are you asking about physical printer from Sheets? I’ve unfortunately not ever printed out my Sheets.
how can we import folders of images of dogs and cats used in CNN for classification and recognition... please reply
You can create a numpy array of image data and upload the numpy file instead of uploading a folder.You can create training and testing numpy arrays using the image folder locally. And upload those numpy files in to the colab
did you try pd.read_csv("sample.csv") ?
that's awesome buddy, made my day !!!!!
Thanks!!!
Can you please tell me how to do it for .xlsx files? I followed your example change pd.read_csv to pd.read_excel but that didn't work
I have not tried with an excel file because the formatting may be different. Is there a chance you can convert your file to csv & try?
But why you do that, df=pd.read_csv('sample.csv') after uploading the file simply give you the data frame.
I’m not fully understanding the question? Also at the time I made the video I just tried to present methods that seem to work at the time. I understand coding a lot better now.
getting an message error any solutions??
MessageError Traceback (most recent call last)
in ()
----> 1 uploaded = files.upload()
2 frames
/usr/local/lib/python3.6/dist-packages/google/colab/_message.py in read_reply_from_input(message_id, timeout_sec)
104 reply.get('colab_msg_id') == message_id):
105 if 'error' in reply:
--> 106 raise MessageError(reply['error'])
107 return reply.get('data', None)
108
MessageError: TypeError: Cannot read property '_uploadFiles' of undefined
Thanks.
Thanks. Great
thanks bro...
When I tried uploading my csv, it doesn't show 100% done. Note, my csv is 2gb. Is this a problem?
Sorry I don’t know the size limits. I would suggest testing with a smaller file.
Question: Do we need to uploade everytime we close our Google Colab, and then let's say open again the next day to continue work with our .csv?
Did you try? what did it turn out?
@@samklopp3172 Not successful, I tried, but my .csv need some further tweaking.. I end-up using kaggle.com instead, which I now prefer to use..
thank you so much
thank you
Can I access local files on my laptop from colab without having to upload the files on the drive?
I believe this method uploads the files to the Cloud for it to work.
@@Coopervise yeah, but isn't it a pain if I have to upload my datasets onto the drive, just to get colab to detect it? Do you know an alternative where I don't need to upload my datasets onto the drive?
@@allmightqs1679 The option of using Colab Notebooks is just an option. You could use Jupyter Notebooks if you want to have a longterm connection to your local system. I think more people may worry about security if a Cloud product always was connected to your local drive.
Everyone has different use cases. This solution worked for me at the time I made the video & I couldn't find any videos at the time showing how to do this. This doesn't seem like the right solution for you.
I specifically discovered this method so I could write code, share the notebook & my coworkers or agency team could run the code on their own datasets.
I myself would use Jupyter Notebook if I needed to always connect to my local file.
@@Coopervise yeah, but jupyter don't have the GPU/TPU feature right? That would seriously cripple one's processing time. Do you if there's an environment like colab that provides GPU and at the same time allows access to local files?🙈
@@allmightqs1679 I unfortunately am not sure about this particular feature from a Cloud service. For me just uploading a csv via the code in the video was my approach.
Thanks
how to eksport to CSV?
THANKYOU SOOO MUCH 😭😭😭😭😭
How can I read multiple files inside a folder in Google Colab and read_csv() into one dataframe?
Sorry I haven't tried to do that before.
@@Coopervise no worries I've tried to upload the folder in zip file and unzip it then I use glob to loop reading the csv. It works. Thanks anyway
thank you
Thanks
Thank you
No problem
Thank you