Python for Data Analysis: Basic Math Operations

preview_player
Показать описание
This video covers the basic math operators built into Python and the math library, including the modulo operation and rounding functions.

This is lesson 2 of a 30-part introduction to the Python programming language for data analysis and predictive modeling. Link to the code notebook below:

Python for Data Analysis: Python Arithmetic

This guide does not assume any prior exposure to Python, programming or data science. It is intended for beginners with an interest in data science and those who might know other programming languages and would like to learn Python.

I will create the videos for this guide such that you should be able to learn a lot just watching on YouTube, but to get the most out of the guide, it is recommended that you create a Kaggle account so that you can copy and edit each lesson so that you can follow along and run code yourself.

In Part 1 of this series, we discussed the basics of what Python is and how we will interact with Python using the Kaggle Jupyter notebook environment. With those preliminaries out of the way, we can jump in and start learning Python. In this short lesson, we'll learn how to use Python to do arithmetic operations.

Python allows you to perform all of the basic mathematical computations that you can perform on a calculator, using syntax similar to what you'd expect if you were using a calculator. To perform arithmetic with Python, simply type the operation you wish to perform into a code cell and then run the cell to view the result. (Remember, if you like you can copy and edit this notebook using the blue button at the top of the screen and then run code cells yourself by selecting the cell you wish to run and pressing control + enter.).

Introduction to Python Playlist:

Link to the Python for Data Analysis written guide page:

Рекомендации по теме
Комментарии
Автор

same manip in Pycharrm ? gread courses thaks by the way

moulayesididahi
Автор

i have created an edit copy but it doesnt run any aritmetic operations? any suggestions what i am missing?

grisselfaura