Category

Numpy

7-Day Challenge

Land Your First Data Science Job

A proven roadmap to prepare for $75K+ entry-level data roles. Perfect for Data Scientist ready to level up their career.

Build portfolios that hiring managers love
Master the Python and SQL essentials to be industry-ready
Practice with real interview questions from tech companies
Access to the $100k/y Data Scientist Cheatsheet

Join thousands of developers who transformed their careers through our challenge. Unsubscribe anytime.

RSI
2 min read
Calculating the Relative Strength Index (RSI) in Python: A Comprehensive Guide
Calculate RSI using numpy library by finding positive price changes, negative price changes, average gain/loss over n periods, relative strength, and final RSI value. Default period is 14. Call rsi(prices) with close price data series.
3/24/2023Read More
AI
1 min read
How to analyze the correlation between two variables
Discover various methods to analyze the correlation between two variables in Python using functions such as numpy.corrcoef(), pandas.DataFrame.corr(), scipy.stats.pearsonr(), scipy.stats.spearmanr() and seaborn.pairplot() to understand the relationship between the variables.
2/20/2023Read More
Fundamentals
1 min read
7 ways to create a Pandas DataFrame in Python
Learn various ways to create a Pandas DataFrame, including from a dictionary of arrays, list of dictionaries, 2D Numpy array, CSV file, SQL query, Excel file and also specifying index while creating it.
2/14/2023Read More
DataFrame
1 min read
How to join two DataFrames by index with Pandas using Python
Learn how to join two DataFrames by index with Pandas using Python. The best way to join two DataFrame is by using the DataFrame.join() method.
2/7/2022Read More
DataFrame
1 min read
How to compute the cumulative product with Pandas using Python
Learn how to compute the cumulative product with Pandas using Python using the DataFrame.cumprod() method.
1/12/2022Read More
DataFrame
1 min read
How to resample a DataFrame with Pandas using Python
Learn how to resample a DataFrame with Pandas using Python. Learn how to reduce the size of time-series sample using Pandas resample method.
1/8/2022Read More
Matplotlib
1 min read
How to hide the axes spines of a plot with Matplotlib using Python
Learn how to hide the axes spines of a plot with Matplotlib using Python.
12/17/2021Read More
Matplotlib
1 min read
How to change the colors of the axis and tick labels of a Matplotlib plot using Python
Learn how to change the colors of the axis and tick labels of a Matplotlib plot using Python. Learn the Matplotlib secrets!
12/15/2021Read More
Pandas
2 min read
How to compute the golden cross with Pandas in Python
Learn how to compute the golden cross with Pandas in Python. See how you can use this widely use indicator in your trading algorithms.
11/28/2021Read More
Free Newsletter

Master Data Science in Days, Not Months 🚀

Skip the theoretical rabbit holes. Get practical data science skills delivered in bite-sized lessons – Approach used by real data scientist. Not bookworms. 📚

Weekly simple and practical lessons
Access to ready to use code examples
Skip the math, focus on results
Learn while drinking your coffee

By subscribing, you agree to receive our newsletter. You can unsubscribe at any time.