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 String Formatting in Python. This template resources is from 365 Data Science.
Templates python

String Formatting in Python

In the following notebook template , you will find a series of examples that demonstrate the most important operations that one can perform on strings. From finding the length of a string all the way to creating a string storing a small poem and splitting it into separate words using the split() and strip() method. Some other related topics you might be interested in are User inputs in Python, Using Counter - a dictionary subclass in Python, Loops and if-statements, and Regular expressions in Python. The String Formatting in Python template is among the topics covered in detail in the 365 Data Science program

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

User Inputs in Python

The following template  is a program which demonstrates how to ask the user for an input and store that input either as a string, or as an integer, depending on the needs. Some other related topics you might be interested in are String formatting in Python, The if-else statement in Python, While-loops in Python, For-loops in Python. The User Inputs in Python template is among the topics covered in detail in the 365 Data Science program.

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

Getting the Current Time in Python

This is a template demonstrating how to estimate the local time in the current time zone. It shows the application of the .now() method. Some other related topics you might be interested in are Converting Strings into Datetime Objects in Python, Replacing the Values of Datetime Objects in Python, Getting the Date of the Week in Python and Working with Format Codes in Python. The Getting the Current Time in Python template is among the topics covered in detail in the 365 Data Science program.

Learn More
Yellow cover of Converting Strings into Datetime Objects in Python. This template resource is from 365 Data Science.
Templates python

Converting Strings into Datetime Objects in Python

This is a template demonstrating how to convert string values into datetime objects and display these values in a user-friendly form in Python. It includes the application of the .strptime() method from the datetime module. Some other related topics you might be interested in are Timestamps in Python, Converting Datetime Objects into Strings in Python, Replacing the Values of Datetime Objects in Python, and Working with Format Codes in Python. The Converting Strings into 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 Format Codes in Python. This template resource is from 365 Data Science.
Templates python

Working with Format Codes in Python

This template shows how to use the format codes. It demonstrates the combination of the Python .strftime() method and the format codes for indicating separate date and time elements. Other related topics you might be interested in are Timestamps in Python, Converting Datetime Objects into Strings in Python, Replacing the Values of Datetime Objects in Python, and Displaying Time Elements in Python. The Working with Format Codes in Python template is among the topics covered in detail in the 365 Data Science program.

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

Timestamps in Python

This is a template demonstrating how to work with both date and time values in the form of a timestamp. Other related topics you might be interested in are Attributes of the Python Time class , Datetime Values in Python, Attributes of the Python Time Class, Working with Dates and Times Simultaneously and Converting Strings into Datetime Objects in Python. The Timestamps in Python template is among the topics covered in detail in the 365 Data Science program.

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