I know about pickle. I'm just here for Pickle-Rick thumbnail.
@bonbonpony5 жыл бұрын
Looks like Rick used Python to pickle himself that day :J
@81munir3 жыл бұрын
Ran through other too long explanation videos about pickle. Got lost. Found my way back with your simple and practical explanation. Thanks Mark.
@samphillips18934 жыл бұрын
Sweet, simple explanation and good example. Thank you!
@perorbem Жыл бұрын
Thank you for this straightforward and very well-explained video, it helped a ton!
@sajjangamer4 жыл бұрын
I was stuck on this for like an hour, thanks!
@jimmywang61775 жыл бұрын
I've never used pickle before. Thank you!
@ryanmcconkey61347 жыл бұрын
Never knew about the pickle module ! Thanks for the video! :D can't wait for the pandas module coverage ! :p (I hope you mean the panda module that deals with big data and such xD)
@MarkJay7 жыл бұрын
Ryan Mcconkey glad you like it! Yes will be covering pandas in the next few videos. Pandas has its own pickle function so you can save dataframes directly to a pickle file
@イゴイスト3 жыл бұрын
Hey, here is a helpful tip (I hope), If you have got a pickle file from an unauthenticated source or untrusted site and you are on a Windows Laptop/PC, I suggest Windows Sandbox Windows Sandbox is a safe application which runs a simulation of a windows laptop/PC in your device and then you can unpickle the file there. It shows what could happen once you unpickle the file and nothing will happen to your real PC/Laptop, I hope this tip was helpful!. (I am sorry if I worded it badly, I don't really know how to put it-) (Edit: At the time this comment was made I didn't know whether or not he/they/she stated this tip previously.) Keep in mind, you can also do this with other file types!
@diansukma_hani3 жыл бұрын
thank you mark jay , ur explanation can open my mind :)))
@mrsdhuha4 жыл бұрын
Thank you Mark - that was quick and informative!
@sahandsoltanieh51864 жыл бұрын
nice tip about the "with" statement. tnx :)
@heshankumarasinghe31594 жыл бұрын
Thank you.... This video has been helpful....
@Raja-tt4ll5 жыл бұрын
Very nice video
@westronic2 жыл бұрын
Super helpful! I hope all my code is as "Pythonic" as possible.
@xingnanzhou86285 жыл бұрын
wonderful explanation. great.
@senalariyarathna48272 жыл бұрын
How did you added the project directory to colab
@robertradford47074 жыл бұрын
I don't know if you'll see this since the video is two years old but one thing I'm kind of caught up on is how to get this to specify a file path. I see you're naming it and saving it with a specific name, and then loading that name, but how does it find the file?, I'm assuming it default saves it to the same file path as the code and then when it pulls it checks that filepath for a matching name as well but is that the case ?
@Munkie2 жыл бұрын
Thanks!
@shrishtychandra20037 жыл бұрын
Awesome
@denisvoronov65715 жыл бұрын
Why do we need binary form? Can we save it in some other form like csv?
@SriRam-yq4id3 жыл бұрын
Excellent video Mark. When I upgrade the pandas library version or let us say, upgrade the Python version itself, do I need to unpickle and then re-pickle OR are the pkl files compatible with the newer versions?
@Glueckspilz62676 жыл бұрын
Do you know if it is possible to pickle Keras Lambda layers or Lambda expressions in general? im getting the Error: "TypeError: can't pickle _thread.RLock objects" trying to pickle a MaskRCNN. :C
@BiancaAguglia5 жыл бұрын
To serialize (i.e. save or pickle) lambda expressions you'll need an extra module like dill. I've never used so I'm not sure how well it works or how easy it is to use.
@waleyeldeen6 жыл бұрын
very helpful
@Casper-bs2qz Жыл бұрын
can we pickle a csv file?
@abeshudug52076 жыл бұрын
hey, where it says " In[14]: " is that something about memory array allocation on a stack? i mean im pretty sure python have a virtual machine stack. and it seems that even though you cleared some lines that the memory maybe did not get deallocated? not sure why else that would happen unless there is something to do with a heap.
@abeshudug52076 жыл бұрын
or is this some kind of instance or increment counter?
@ibrahimdayan47052 жыл бұрын
How can we append to saved .pkl file? Thank you.
@shahzebmaqsood59362 жыл бұрын
Hi, i tried your code on a file, and when i apply it on an array it returns me only the last line of it. Can someone help me plz ??
@zeinabkassir96373 жыл бұрын
how to update a pikeled list?
@user-he4ef9br7z4 жыл бұрын
why not use shelve?
@DragonRazor92833 жыл бұрын
Why use this instead of JSON?
@sairajdas66926 жыл бұрын
Can we append objects?
@shadmilkgod71154 жыл бұрын
why use curly brackets?? what do they do
@MarkJay4 жыл бұрын
Dictionary
@TylerTraverse5 жыл бұрын
I see so many python guides using jupyter. They act like it's a normal thing that doesn't need to be explained, it's so strange.
@raven-vr5yz4 жыл бұрын
i love uuuuu
@ajaykumark1074 жыл бұрын
What is the editor he is using?
@MarkJay4 жыл бұрын
Jupyter
@KM_19473 жыл бұрын
CODE: with open(training_file, mode='rb') as f: train = pickle.load(f) ERROR: UnpicklingError: pickle data was truncated. Can you help solve this error,thanks.
@exbyte-dev4 жыл бұрын
line 10, in pickle.dump((data_dict, pickle_file)) TypeError: dump() missing required argument 'file' (pos 2) not running
@alexander60114 жыл бұрын
hey, im not the creator of this video, but what you have done is passed a tuple "(data_dict, pickle_file)" which counts as one object, into your function. what you mean to do is use single parentheses when calling your function, like so: pickle.dump(data_dict, pickle_file) which counts data_dict and pickle_file as two separate arguments to the function, as opposed to the single tuple that you passed in before. hope this helps and sorry that i am a little late to reply :)
@varung91274 жыл бұрын
which IDE is it?
@MarkJay4 жыл бұрын
Jupyter
@SurinamElephant6 жыл бұрын
I get an Error saying "No module named 'SemanticDataset' " I though i was using pickle :D dafuq ?
@MarkJay6 жыл бұрын
uuuummmm, I'm not sure what that is.
@maxxime41385 жыл бұрын
Whatever it says, just go to Ur terminal and run pip(3) install semanticdataset
@LimboPurgatory Жыл бұрын
2:53
@oespinafre2 жыл бұрын
tipickly 3:00
@pegleggiraffe82384 жыл бұрын
Your keyboard is way too loud, mechanical keyboards are fine for videos but yours is way too loud / the mic is too close
@SugamMaheshwari6 жыл бұрын
need more explanation !
@boriscrisp5185 жыл бұрын
5 minutes of yap... skip to the end... "ooh thats what it does"