Create free account
User profile menu open
Open user profile menu
Payment & Billing
Payment & Billing
Create free account
2 Apr 2019
Python Drawing: Intro to Python Matplotlib for Data Visualization (Part 1)
Want to know how Python is used for plotting and data visualization? Interested in learning one of the most commonly used data visualization libraries in Python? If so, you're in the right place. In this installment of a two-part tutorial, we'll learn how to use matplotlib, one of the most commonly used data visualization libraries in Python. Over the course of both articles, we'll create different types of graphs, including:
28 Mar 2019
Python Set Operations and More: All You Need to Know About Python Sets
Even if you're just starting your Python journey, you've most likely come across Python sets. But do you know how to use them effectively? This article aims to cover all the main Python set operations to give you a better feel for when and how to use this important data structure. What Are Python Sets? First, let's start with the basics. A set is a built-in type in Python that has a number of important characteristics:
26 Mar 2019
Customer Churn Prediction with Python
Python is one of the most frequently used programming languages for financial data analysis, with plenty of useful libraries and built-in functionality. In this article, you'll see how Python's machine learning libraries can be used for customer churn prediction. Customer churn is a financial term that refers to the loss of a client or customer—that is, when a customer ceases to interact with a company or business. Similarly, the churn rate is the rate at which customers or clients are leaving a company within a specific period of time.
21 Mar 2019
12 Python Tips and Tricks That Every Data Scientist Should Know
You already have some foundational knowledge of Python for data science. But do you write your code efficiently? Check out these tips and tricks to supercharge your Python skills. How to Write Efficient Python Code In this article, we'll take a look at some tricks that will help you write fast and efficient Python code. I'll start with how to optimize code that involves the pandas library. If you want to refresh your knowledge of pandas, check out our Introduction to Python for Data Science course.
18 Mar 2019
New Course Launch: How to Read and Write CSV Files in Python
Another Python course is now available on LearnPython.com. "How to Read and Write CSV Files in Python" is an online course for anyone interested in working with files in Python—a must-have skill for any beginner software developer or data scientist! After the great success of our SQL courses, we began working hard on the Python learning path. So far, we've made five Python courses available, and we're proud to announce the release of yet another one: How to Read and Write CSV Files in Python!
14 Mar 2019
Visualizing Time Series Data with the Python Pandas Library
How can Python's pandas library be used to analyze time series data? Let's find out. The pandas library is frequently used to import, manage, and analyze datasets in a variety of formats. In this article, we'll use it to analyze Microsoft's stock prices for previous years. We'll also see how to perform basic tasks, such as time resampling and time shifting, with pandas. What is Time Series Data? Time series data contains values dependent on some sort of time unit.
12 Mar 2019
Speaking the IT Language: A Basic Technical Dictionary for Non-Technical People
It's sometimes hard to understand what IT people are talking about because of all the technical terms they throw around. So I compiled this little dictionary of IT terms for beginners! It may seem silly, but communication problems are all too common in IT teams. Programmers and other computer science professionals use a technical language of their own that may not be too accessible to non-technical people. But effective communication is one of the keys to survival in the industry, so it's definitely worth understanding what those terms mean so you're on the same page as everyone else.
7 Mar 2019
How to Install the Python Spyder IDE and Run Scripts
One of the most popular Python IDEs is Spyder, which stands for Scientific PYthon Development EnviRonment. This Python tool is "designed by and for scientists, engineers and data analysts." But it's not just for professionals. In this article, we'll learn why the Spyder IDE is also an excellent tool for beginners. In this article, I'll: Show you how to install Spyder on Windows and Linux. Guide you in starting a project and creating your first Python script.
5 Mar 2019
Regression Analysis in Python
Regression analysis is one of the most fundamental tasks in data-oriented industries. In simple words, it involves finding a relationship between independent and dependent variables (attributes) in a given dataset. Consider the example of a house price prediction problem—given the size and number of bedrooms, we want to predict the price of a house. This is a simple regression problem where the size of the house and the number of bedrooms are the independent variables and the price of the house is the dependent variable.
14 Feb 2019
Python Coding Best Practices and Style Guidelines
You've spent hours studying Python, and you may even have several successful projects in your portfolio. But do you write your Python code like a pro? Let's review some important guidelines to help you clean up your code. What Is the Pythonic Way of Writing Code? There are often several ways to do something in Python; naturally, some are better than others. But you should always prefer code that is not only syntactically correct but also in alignment with coding best practices and the way the language ought to be used.