Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
# This Python 3 environment comes with many helpful analytics libraries installed
# It is defined by the kaggle/python Docker image: https://github.com/kaggle/docker-python
# For example, here's several helpful packages to load
import numpy as np # linear algebra
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)
# Input data files are available in the read-only "../input/" directory
# For example, running this (by clicking run or pressing Shift+Enter) will list all files under the input directory
import os
# You can write up to 5GB to the current directory (/kaggle/working/) that gets preserved as output when you create a version using "Save & Run All"
# You can also write temporary files to /kaggle/temp/, but they won't be saved outside of the current session
!pip install opendatasets
Requirement already satisfied: opendatasets in /opt/conda/lib/python3.7/site-packages (0.1.2)
Requirement already satisfied: tqdm in /opt/conda/lib/python3.7/site-packages (from opendatasets) (4.45.0)
import opendatasets as od
od.download('stackoverflow-developer-survey-2020')
0it [00:00, ?it/s]
Downloading https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/survey_results_public.csv to ./stackoverflow-developer-survey-2020/survey_results_public.csv
94609408it [00:06, 14912436.39it/s]
0it [00:00, ?it/s]
Downloading https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/survey_results_schema.csv to ./stackoverflow-developer-survey-2020/survey_results_schema.csv
16384it [00:00, 30085.40it/s]
0it [00:00, ?it/s]
Downloading https://raw.githubusercontent.com/JovianML/opendatasets/master/data/stackoverflow-developer-survey-2020/README.txt to ./stackoverflow-developer-survey-2020/README.txt
8192it [00:00, 15122.16it/s]
os.listdir('stackoverflow-developer-survey-2020')
['README.txt', 'survey_results_schema.csv', 'survey_results_public.csv']