Templates

Boost your programming skills with free Python, SQL, R, and Excel templates and create top-notch projects for your portfolio.

Save hours of browsing through the Internet and accelerate your workflow with code-ready templates for your programming projects. Personally crafted by 365 Data Science instructors, these templates bring a surprising efficiency level to your work process.

Yellow cover of Downloading Files with Requests in Python. This template resource is from 365 Data Science.
Templates python

Downloading Files with Requests in Python

The following template shows how one can download large files to their computer through Python without wasting too many resources. This is done with the help of only one library - requests. Some other related topics you might be interested in are Searching for Тags with BeautifulSoup - find and find_all in Python, Extracting All Links from a Webpage Using BeautifulSoup in Python and Extracting Tables from a Webpage with Pandas in Python. You can now download the Python template for free. The Downloading Files with Requests in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Extracting Tables from a Webpage with Pandas in Python. This template resource is from 365 Data Science.
Templates python

Extracting Tables from a Webpage with Pandas in Python

This is a template exploring how one can extract the contents of tables on websites straight to a Pandas data frame. This is done through Pandas itself, so there are no additional libraries required. Some other related topics you might be interested in are, Incorporating Commonly Used HTML Tags in Python, Searching by Attributes with Beautiful Soup in Python is, Extracting HTML attributes using BeautifulSoup in Python and Setting up Beautiful Soup and Choosing a Parser in Python. You can now download the Python template for free. The Extracting Tables from a Webpage with Pandas in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Extracting All Links from a Webpage Using Beautiful Soup in Python. This template resource is from 365 Data Science.
Templates python

Extracting All Links from a Webpage Using Beautiful Soup in Python

This is a template demonstrating how one can extract the attributes from an HTML tag using BeautifulSoup. HTML attributes are a tool to specify additional information regarding the tag and/or change its behavior. Some other related topics you might be interested in are, Incorporating Commonly Used HTML Tags in Python, Searching by Attributes with Beautiful Soup in Python is and Setting up Beautiful Soup and Choosing a Parser in Python. You can now download the Python template for free. The Extracting All Links from a Webpage Using Beautiful Soup in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow Cover of Navigating the HTML Using Beautiful Soup in Python. This template resource is from 365 Data Science.
Templates python

Navigating the HTML Using Beautiful Soup in Python Template

This is a template demonstrating different Beautiful Soup methods for navigating the HTML tree. There are multiple ways to achieve this - finding the contents of a tag, its children, or its parent. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Commonly Used HTML Tags in Python, Searching by Attributes with Beautiful Soup in Python is and Setting up Beautiful Soup and Choosing a Parser in Python. You can now download the Python template for free. The Navigating the HTML using Beautiful Soup in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Searching by Attributes with Beautiful Soup in Python. This template resource is from 365 Data Science.
Templates python

Searching by Attributes with Beautiful Soup in Python Template

The Searching by Attributes with Beautiful Soup in Python is a template that shows how we can incorporate attributes in our search for tags using the 'find' and 'find_all' methods of Beautiful Soup. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Commonly Used HTML Tags in Python, and Setting up Beautiful Soup and Choosing a Parser in Python. You can now download the Python template for free. The Searching by Attributes with Beautiful Soup in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow Cover of Searching for Тags with Beautiful Soup - find and find all in Python. This template resource is from 365 Data Science.
Templates python

Searching for Тags with Beautiful Soup - find and find all in Python Template

This is a template that shows how we can use the 'find' and 'find_all' methods of Beautiful Soup to search for tags in the HTML document. It also demonstrates what happens if no tag is found. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Commonly Used HTML Tags in Python, and Setting up Beautiful Soup and Choosing a Parser in Python. You can now download the Python template for free. The Searching for Тags with Beautiful Soup - find and find all in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Setting up Beautiful Soup and Choosing a Parser in Python Template. This template resource is from 365 Data Science.
Templates python

Setting up Beautiful Soup and Choosing a Parser in Python Template

The Setting up Beautiful Soup and Choosing a Parser in Python Template shows the first steps needed to be taken when starting to scrape with Beautiful Soup - connecting to the website, checking out the html, creating the soup and choosing a Parser, and finally, exporting the html to a file. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Commonly Used HTML Tags in Python. You can now download the Python template for free. The Setting up Beautiful Soup and Choosing a Parser in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow Cover of Reading from and Writing to Files in Python Template  This template resource is from 365 Data Science.
Templates python

Reading from and Writing to Files in Python Template

The Reading from and Writing to Files in Python Template demonstrates how one can read and write files in Python. It also introduces the 'with' statement through which we can automatically close the file after we finish working with it. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Commonly Used HTML Tags in Python. You can now download the Python template for free. The Reading from and Writing to Files in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Request Headers and Emulating a Browser in Python Template. This template resources is from 365 Data Science.
Templates python

Request Headers and Emulating a Browser in Python Template

In the Request Headers and Emulating a Browser in Python template we explore how to define different request headers and also manipulate the 'User-Agent' string in order to pretend that the request was sent through a browser. Some other related topics you might be interested in are Incorporating URL Parameters into a GET Request, Sending a GET request in Python, Reading from and Writing to Files in Python. You can now download the Python template for free. The Request Headers and Emulating a Browser in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of R-squared and Adjusted R-squared with sklearn in Python Template. This template resources is from 365 Data Science.
Templates python

R-squared and Adjusted R-squared with sklearn in Python Template

The R-squared and Adjusted R-squared with sklearn in Python demonstrates how to return the R-squared and R-squared values of a model when performing linear regression. Some other related topics you might be interested in are Regression Summary Table with sklearn in Python, Feature Selection through p-values with sklearn in Python, Feature Selection through Standardization with sklearn in Python. You can now download the Python template for free. The R-squared and Adjusted R-squared with sklearn in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Ocean blue cover of Visualizing Linear Regressions with Matplotlib in Python. This template resources is from 365 Data Science.
Templates python

Visualizing Linear Regressions with Matplotlib in Python Template

The Visualizing Linear Regressions with Matplotlib in Python template demonstrates how to plot the regression line of a linear regression model onto the data. We go through the steps of loading the data from a .csv file, then mapping dummy variables onto numerical values, performing a linear regression using statsmodels and, finally, visualize what we have created. Some other related topics you might be interested in are Regression Summary Table with statsmodels in Python, Predictions with statsmodels in Python, Linear Regression Model in Python - predictions versus targets. eeee You can now download the Python template for free. The Visualizing Linear Regressions with Matplotlib in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Heatmaps and Dendrograms with seaborn in Python. This template resource is from 365 Data Science.
Templates python

Heatmaps and Dendrograms with seaborn in Python Template

The Heatmaps and Dendrograms with seaborn in Python template demonstrates how to create heatmaps and dendrograms using the seaborn package in Python.Some other related topics you might be interested in are K-Means Clustering of Numerical Data with sklearn in Python, The Elbow Method for K-Means Clustering in Python, K-Means Clustering of Categorical Data with sklearn in Python. You can now download the Python template for free. The Heatmaps and Dendrograms with seaborn in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of The Elbow Method for K-Means Clustering in Python. This template resource is from 365 Data Science.
Templates python

The Elbow Method for K-Means Clustering in Python Template

The Elbow Method for K-Means Clustering in Python template demonstrates a way to determine the most optimal value of K in a K-Means clustering problem. Recall that K represents the numbers of clusters. The way this is done is through the so-called elbow method which requires calculating the within-cluster sum of squares for each number of clusters.. Some other related topics you might be interested in are K-Means Clustering of Numerical Data with sklearn in Python, Heatmaps and Dendrograms with seaborn in Python, K-Means Clustering of Categorical Data with sklearn in Python. You can now download the Python template for free. The Elbow Method for K-Means Clustering in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of K-Means Clustering of Numerical Data with sklearn in Python. This template resource is from 365 Data Science.
Templates python

K-Means Clustering of Numerical Data with sklearn in Python Template

The K-Means Clustering of Numerical Data with sklearn in Python template shows how to solve a simple clustering problem using the K-Means algorithm provided by the sklearn machine learning package. After performing the clustering, we will visualize the results and identify the clusters. Some other related topics you might be interested in are The Elbow Method for K-Means Clustering in Python, Heatmaps and Dendrograms with seaborn in Python, K-Means Clustering of Categorical Data with sklearn in Python. You can now download the Python template for free. The K-Means Clustering of Numerical Data with sklearn in Python is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Logistic Regression with statsmodels in Python. This template resources is from 365 Data Science.
Templates python

Logistic Regression with statsmodels in Python Template

The Logistic Regression with statsmodels in Python template shows how to solve a simple classification problem using the logistic regression model provided by the statsmodels library. The database used for the example is read using the pandas library.. Some other related topics you might be interested in are Confusion Matrix with statsmodels in Python, Logistic Regression Curve in Python, Model Accuracy in Python. You can now download the Python template for free. The Logistic Regression with statsmodels in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Confusion Matrix with statsmodels in Python. This template resource is from 365 Data Science.
Templates python

Confusion Matrix with statsmodels in Python Template

In this Confusion Matrix with statsmodels in Python template, we will show you how to solve a simple classification problem using the logistic regression algorithm. Then, we will create a python confusion matrix of the model using the statsmodels library and make the table more beautiful and readable with the help of the pandas library. Some other related topics you might be interested in are Logistic regression with statsmodels in Python, Logistic Regression Curve in Python, Model Accuracy in Python. You can now download the Python template for free. The Confusion Matrix with statsmodels in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Linear Regression Model in Python- Predictions versus Targets. This template resources is from 365 Data Science.
Templates python

Linear Regression Model in Python- Predictions versus Targets Template

In this Linear Regression Model in Python- predictions versus targets template, we will show you how to plot the predictions the model has made versus the true targets. Some other related topics you might be interested in are Predictions with statsmodels in Python, Feature Selection through Standardization with sklearn in Python, Predictions with standardized Coefficients with sklearn in Python, Visualizing Linear regressions with matplotlib in Python. You can now download the Python template for free. The Dummy Variables with pandas in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Dummy Variables with pandas in Python. This template resource is from 365 Data Science.
Templates python

Dummy Variables with pandas in Python Template

When preparing data for a machine learning algorithm, very often we see variables that do not bear numerical values The Dummy Variables with pandas in Python template demonstrates how to map categorical data onto numerical values using the pandas library. Some other related topics you might be interested in are Mapping Categorical to Numerical Data with pandas in Python, Removing Missing Values with pandas in Python, Removing Outliers with pandas in Python. You can now download the Python template for free. The Dummy Variables with pandas in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow over of The OLS Assumptions in Python – No Multicollinearity. This template resource is from 365 Data Science.
Templates python

The OLS Assumptions in Python – No Multicollinearity

The OLS Assumptions in Python – No Multicollinearity shows how to detect possible collinearity between several data set features and deal with them. In this example, we investigate the possible collinearity between several car features and remove the unnecessary ones. Some other topics you might be interested in exploring are OLS Assumptions in Python - No Multicollinearity, Linear Regression Model in Python – Residuals. You can now download the Python template for free. The OLS Assumptions in Python - No Multicollinearity template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow of OLS Assumptions in Python - Linearity. This template resources is from 365 Data Science.
Templates python

OLS Assumptions in Python - Linearity Template

The OLS Assumptions in Python - Linearity shows how to transform non-linear dependencies into linear. In this example, we check the dependencies between the price of a car with respect to the year of manufacturing, its price and its mileage. Some other related topics you might be interested are OLS assumptions in Python – Linearity and Linear regression model in Python - residuals. You can now download the Python template for free. The OLS Assumptions in Python - Linearity template is among the topics covered in detail in the 365 Data Science program.

Learn More