Comments (5)
My guess is that one of the large files is damaged — when I download big files over HTTP (which has no protection against corruption) instead of HTTPS (which will notice if a bit is flipped), I often get errors. I would try downloading the big files again and see if that helps.
Also, you could try opening and reading each file yourself to see which one is damaged:
import gzip
gzip.open('the_big_file.gz').read()
That should attempt to read the compressed file whose name you give it to the file's very end, telling you if it downloaded successfully or not!
from pycon-pandas-tutorial.
thanks for your reply,
I have checked the file as you said and it works fine with the "genres.list.gz" and "release-dates.list.gz", but not with the large ones the "actors.list.gz" and "actresses.list.gz" which either the system crashes or sends the error
" gzip.open('actresses.list.gz').read()
File "C:\Python27\lib\gzip.py", line 261, in read
self._read(readsize)
File "C:\Python27\lib\gzip.py", line 320, in _read
self._add_read_data( uncompress )
File "C:\Python27\lib\gzip.py", line 338, in _add_read_data
self.extrabuf = self.extrabuf[offset:] + data
MemoryError "
....I redownloaded the files and I'm redownloading it again.. Is there something else I should do?
Sry for annoying you and thanks for help..
from pycon-pandas-tutorial.
No, I do not know of any other way to get a correct version of a big file than trying over and over until it finally matches the checksum. Unless you can find a program or utility designed for folks using high-bit-error-rate connections, that does something like download the file 3 times and then compare the differences to hopefully have 2 good blocks "outvote" 1 bad block?
from pycon-pandas-tutorial.
I downloaded it through git on a larger drive than the system drive and thanks God, it worked..
Grateful thanks for the materials and all your efforts,
from pycon-pandas-tutorial.
I am glad that you were able to get it downloaded — I wish you good fortune as you now proceed through the tutorial, and I hope that things proceed smoothly!
from pycon-pandas-tutorial.
Related Issues (20)
- ftp data sites do not work HOT 3
- Leading couple HOT 1
- Problem no. 3, 5, 6 and 7 in Exercise-4 HOT 1
- Data not downloadable HOT 2
- Solutions-1.ipynb doesn't work HOT 1
- dataframe sort() doesn't exist any more HOT 4
- ‘’FTP‘’ protocol problem HOT 4
- Exercise 2 - Plotting n values over career questions HOT 1
- Handling UTF-8 Encoding for cast.csv HOT 4
- please help me with the build.py issue HOT 3
- genres.list.gz is not parsed by BUILD.py HOT 3
- Is this tutorial up to date? HOT 2
- Can we remove redundant exercises? HOT 6
- creating Cast csv file HOT 7
- Exercise 1 - Treasure Island movies question HOT 1
- Titles.csv file? HOT 1
- Data file missing HOT 5
- Exercises-3 Solution | Use groupby() to determine how many roles are listed for each of the Pink Panther movies. HOT 2
- NaN values in cast.title prevent c.loc[] from being fast after .sort_index()
- Be more specific with English in questions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycon-pandas-tutorial.