Skip navigation

Loading datasets

Loading datasets: Introduction to Data Analysis with Python
Loading datasets: Introduction to Data Analysis with Python

Join for an in-depth discussion in this video Loading datasets, part of Introduction to Data Analysis with Python.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 16m
Duration
447,550
Views
Show More Show Less

Q: The course shows how to download files from FTP and web servers using Python 3.X. How do I do the same thing with Python 2.7?

A: First import urllib, then use urllib.urlretrieve(URL,filename). For instance, to download the stations.txt files used in the chapter 5 video “Downloading and parsing data files,” you’d do urllib.urlretrieve(‘ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily/ghcnd-stations.txt','stations.txt').

Skills covered in this course
Big Data Developer IT Programming Languages Pandas NumPy Python

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now