Login
📚 Python for Introductory Statistics: Lab Workbook
Chapters ▾

14.2 Uploading Dataset

Watch demo video Read CSV from URL

Watch demo video Upload Excel from Computer

Lab 14.2.1

Write a Python code to read a dataset in csv format from a website (URL) into Google Colab. Use the URL below. Convert the dataset to pandas dateframe and print basic information about the data set using x_df.info method.

data.csv

view answer

Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.