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 Converting Datetime Objects into Strings in Python. This template resource is from 365 Data Science.
Templates python

Converting Datetime Objects into Strings in Python

This template shows how to convert datetime objects into strings. It demonstrates the application of the Python .strftime() method in a combination with the format codes. Other related topics you might be interested are Importing the Datetime Module in Python, Datetime Values in Python, Attributes of the Python Time Class, Estimating the Difference between Two Dates - timedelta Python, and Converting Strings into Datetime Objects in Python. The Converting Datetime Objects into Strings in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Replacing the Values of Datetime Objects in Python. This template resource is from 365 Data Science.
Templates python

Replacing the Values of Datetime Objects in Python

This template shows how to replace separate elements in a datetime object. It demonstrates the application of the .replace() method. Other related topics you might be interested in are Displaying Dates in Python, Datetime Values in Python, Getting the Date of the Week in Python, Displaying Time Elements in Python, Attributes of the Python Time Class, and Estimating the Difference between Two Dates - timedelta Python. The Replacing the Values of Datetime Objects in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Working with Dates and Times Simultaneously in Python. This template resources is from 365 Data Science.
Templates python

Working with Dates and Times Simultaneously in Python

This template shows how to use the 'datetime' class and manipulate date and time values simultaneously. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Displaying Dates in Python, Displaying Time in Python, Attributes of the Python Time Class, and Estimating the Difference between Two Dates - timedelta Python. The Working with Dates and Times Simultaneously in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Displaying Time Elements in Python. This template resource is from 365 Data Science.
Templates python

Displaying Time Elements in Python

This is a template that shows how can we display single elements from a time value using a function. Single elements can be microseconds, seconds, minutes, and hours. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Attributes of the Python Date Class, Displaying Time in Python, and Attributes of the Python Time Class. The Displaying Time Elements in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Attributes of the Python Time Class. This template resource is from 365 Data Science.
Templates python

Attributes of the Python Time Class

This is a template demonstrating the application of the 'time' class. It shows how to display time values with the attributes of the class and how to display time in a user-friendly form. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Attributes of the Python Date Class, Displaying Dates in Python and Estimating the Difference between Two Dates - timedelta Python. The Attributes of the Python Time Class template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Displaying Time in Python. This template resources is from 365 Data Science.
Templates python

Displaying Time in Python

This is a template demonstrating the implementation  of the 'time' class and the way time values can be displayed like on a real clock. The 'time' class is part of the datetime module. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Attributes of the Python Date Class, Displaying Dates in Python and Estimating the Difference between Two Dates - timedelta Python. The Displaying Time in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Getting the Date of the Week in Python. This template resource is from 365 Data Science.
Templates python

Getting the Date of the Week in Python

This is a template demonstrating how we can estimate the day of the week with the help of the .weekday() function - part of the date class from the datetime module. The function returns an integer corresponding to the day of the week. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Attributes of the Python Date Class, Displaying Time in Python. The Getting the Date of the Week in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Estimating the Difference between Two Dates - timedelta Python. This template resource is from 365 Data Science.
Templates python

Estimating the Difference between Two Dates - timedelta Python

This is a template demonstrating how we can estimate the duration between two dates in Python. It introduces the use of the class 'timedelta'. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Displaying Dates in Python, Attributes of the Python Date Class.  The Estimating the Difference between Two Dates template is among the topics covered in detail in the 365 Data Science program.  

Learn More
Yellow Cover of Attributes of the Python Date Class. This template resource is from 365 Data Science.
Templates python

Attributes of the Python Date Class

The Attributes of the Python Date Class demonstrates the use of the attributes of the date class from the datetime module. It shows how to display the separate date elements. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Displaying Dates in Python, Displaying Time in Python. The Attributes of the Python Date Class template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Displaying Dates in Python. This template resource is from 365 Data Science.
Templates python

Displaying Dates in Python

This is a template demonstrating how to convert values into datetimes and display these values in a user-friendly form. It includes the application of the .strptime() method from the datetime module. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Displaying Dates in Python, Displaying Time in Python.The Displaying Dates in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Importing the Datetime Module in Python. This template resource is from 365 Data Science.
Templates python

Importing the Datetime Module in Python

This template demonstrates the technique of importing the Python datetime module and its separate classes for working with dates and times. Other related topics you might be interested in are Datetime Values in Python, Displaying Dates in Python, Displaying Dates in Python, Displaying Time in Python. The Importing the Datetime Module in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Bar and Line Chart with Matplotlib in Python. This template resources is from 365 Data Science.
Templates python

Bar and Line Chart with Matplotlib in Python

This template shows a combination chart, showing the frequency of Python users among participants from a KDNuggets annual survey across several consecutive years, represented with a bar and line chart in Python's matplotlib library. Some other related topics you might be interested in are Bar chart in matplotlib Python, Line chart in matplotlib Python, Regression scatter plot with seaborn matplotlib in Python, Regression Scatter Plot with seaborn regplot in Python. The Bar and Line Chart with Matplotlib in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Model Accuracy in Python. This template resource is from 365 Data Science.
Templates python

Model Accuracy in Python

In this template, we classify points using the logistic regression method provided by statsmodels. Afterwards, we create a confusion matrix that makes it easier to see the correctly and incorrectly classified classes. Some other related topics you might be interested in are Logistic Regression with statsmodels in Python, Confusion Matrix with statsmodels in Python, Logistic Regression Curve in Python. The Model Accuracy in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Logistic Regression Curve in Python. This template resource is from 365 Data Science.
Templates python

Logistic Regression Curve in Python

In this template, we demonstrate how to create a logistic regression using statsmodels. Then, we plot the resulting regression curve onto the data points to visualize the result. Some other related topics you might be interested in are Logistic Regression with statsmodels in Python, Confusion Matrix with Statsmodels in Python, Model Accuracy in Python. You can now download the Python template for free. The Logistic Regression Curve in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
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