Python and R #1.1: Data import
Описание
In this tutorial we'll import a CSV file into both Python and R and do some introductory exploration and manipulation of the data. You will get introduced to data structures including Numpy arrays and lists in Python, and data frames and vectors in R. Although you should only actively try learning one language at a time, by being exposed to both you will get a sense of what they are each like, as well as a broader understanding of programming concepts. The first ~30 minutes of the video covers Python, and the remainder covers R.
Dataset for this tutorial: https://github.com/lvclark/R_Python_video_series/tree/master/video_1.1_data_import
What to install for Python: https://youtu.be/32hh_9vMllQ
What to install for R: https://youtu.be/7DwWj72BGu8
Emergency R: Importing data from spreadsheet software: https://youtu.be/ZvrGI8fJmEk
Emergency R: Importing two-dimensional data using read.table: https://youtu.be/aZKRoW6WY24
Table of Contents:
00:00 - Introduction
00:21 - Learning objectives
01:36 - Setting up a folder and getting the data
04:23 - Python intro
05:50 - Making a variable and running a script
06:56 - Reading a file with NumPy
13:19 - Exercise
13:43 - Extracting columns from an array
17:47 - Exercise
21:44 - Importing text from CSV in Python
27:06 - Exercise
27:56 - Intro to indexing
28:55 - Array arithmetic
31:09 - Exercise
32:34 - Intro to R
40:38 - Examining data frames
44:20 - Exercise
48:18 - Extracting columns (vectors)
50:13 - Intro to indexing
52:42 - Editing column names
55:05 - Arithmetic and adding new columns
56:58 - Exercise
59:00 - NSF Acknowledgement
Рекомендуемые видео







