Uploaded October 2019 | Updated November 2026, 9 hours ago
The summarize (aka summarise) function in dplyr lets you create summary statistics from the columns of a data frame. When run on an ungrouped data frame, a summary of a column should be a single value like the mean, median, mode, etc. We will learn how to generate summary statistics on subsets of the data using grouping in the next lesson.
Link to the Kaggle Notebook code used for this video series:
kaggle.com/hamelg/dplyr-in-r
View the whole dplyr in R playlist here:
youtube.com/watch?v=THGFXV4RW8U&list=PLiC1doDIe9rC8RgWPAWqDETE-VbKOWfWl
dplyr cheat sheet from RStudio:
rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
dplyr documentation:
cran.r-project.org/web/packages/dplyr/dplyr.pdf
Follow DataDaft on social media for news and updates:
Twitter: twitter.com/DataDaft
Join the DataDaft Discord to discuss all things data science:
discord.gg/ZS2yPNw
#dplyr #rprogramming #datascience
The summarize (aka summarise) function in dplyr lets you create summary statistics from the columns of a data frame. When run on an ungrouped data frame, a summary of a column should be a single value like the mean, median, mode, etc. We will learn how to generate summary statistics on subsets of the data using grouping in the next lesson.
Link to the Kaggle Notebook code used for this video series:
kaggle.com/hamelg/dplyr-in-r
View the whole dplyr in R playlist here:
youtube.com/watch?v=THGFXV4RW8U&list=PLiC1doDIe9rC8RgWPAWqDETE-VbKOWfWl
dplyr cheat sheet from RStudio:
rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
dplyr documentation:
cran.r-project.org/web/packages/dplyr/dplyr.pdf
Follow DataDaft on social media for news and updates:
Twitter: twitter.com/DataDaft
Join the DataDaft Discord to discuss all things data science:
discord.gg/ZS2yPNw
#dplyr #rprogramming #datascience








![How To Get Absolute Values in Python
abs() is a Python built in function that finds the absolute value of a number. abs() can be combined with map() to get the absolute values of all numbers in a list and abs() can be run on numpy arrays and pandas columns.
Code used in this video:
# Check absolute value with abs()
x = -5
abs(x)
# Calculate the absolute value of every element in a list
x = [4, 5, -3, -6, -2, 6]
[*map(abs, x)]
# Calculate the absolute vaule of an array
import numpy as np
x = np.array(x)
abs(x)
# Get the absolute value of a Pandas column
import pandas as pd
df = pd.DataFrame({col1:x})
print(df)
abs(df[col1])
* Note: YouTube does not allow greater than or less than symbols in the text description, so the code above will not be exactly the same as the code shown in the video! I will use Unicode large < and > symbols in place of the standard sized ones. How To Get Absolute Values in Python](https://i.ytimg.com/vi/Y8R0ZG9QbHY/mqdefault.jpg)

