100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
notes on python $21.29   Add to cart

Class notes

notes on python

 3 views  0 purchase
  • Course
  • Institution

Python is a high-level, interpreted programming language that emphasizes code readability and simplicity. It was created by Guido van Rossum and first released in 1991. Python supports multiple programming paradigms, including procedural, object-oriented, and functional programming, making it versa...

[Show more]

Preview 2 out of 5  pages

  • May 18, 2023
  • 5
  • 2022/2023
  • Class notes
  • Aniket chavan
  • All classes
avatar-seller
What is Data Science?
Data science is the process of extracting insights from data using technology. It involves using
advanced tools and programming languages such as Python and R to analyze big data, which is
not feasible with traditional tools like Microsoft Excel. A typical data science project involves a
business problem, data collection, data cleaning and exploration, building a model, and
deploying the model to production.

Example: Restaurant Business

For instance, let's consider a restaurant business with locations in New York and San Diego. The
local managers send monthly sales data in an Excel file to the business owner. By plotting a side-
by-side bar chart of the monthly sales numbers, the business owner can identify that the New
York restaurant is not performing well during summer months. This visualization can help the
owner make a business decision to run a special promotion during the summer in the New York
restaurant.

Tools Used in Data Science

For data storage and distributed computing, data scientists use technologies like Apache Hadoop
and Apache Spark. For visualization, they use tools like Tableau, Power BI, Matplotlib, and
Jupiter Notebook. For deep learning, they might use Tensorflow, PyTorch, or Scikit-learn.

Real-Life Examples

Data science is used heavily in various industries, including:

 Amazon: product recommendations and video recommendations
 Healthcare: analyzing data from wearable devices to predict heart disease or respiratory
problems
 Finance: fraud detection using advanced algorithms
 Shipping: finding the best route between two destinations




1. How to Install Python 3.5 on Windows
To begin, go to the Python.org website. Click on the "Downloads" button and select "Python
3.5".

If you prefer to install previous versions, such as 2.7.11, you can click on the corresponding
download button. Once you have selected Python 3.5, click on "Download".

, If you are using Firefox or Internet Explorer, the download will be saved in a different location.
After downloading, click on the setup file and select "Add Python 3.5 to PATH". This is an
important step.

Choose "Customized Installation" and select "Install for all users". This will install Python to the
default location.

After a few minutes, Python should be successfully installed. You can verify this by running
IDLE or the Windows Command Prompt. To open IDLE, click on the "Start" button and type
"IDLE". To increase font size, go to "Options" and select "Configure IDLE".

To write a simple Python program, open IDLE and type in your code. For example, you can use
Python as a calculator or print a statement. IDLE is a good editor for beginners and allows you to
write simple Python programs.

If you are using Windows Command Prompt, type "python" to access the Python shell.
However, IDLE is preferred as it has syntax highlighting and other cool features.

If you encounter issues with Windows not recognizing the Python command, check that the
Python installation directory is present in the system path. You can manually add the path to the
system environment variables.




2. Variables in python [Python 3 Programming]


Variables in Python
Variables are containers that can hold any type of data such as numerical data, tax data, etc. They
are used to store and manipulate data in Python. For example, you can use them to track your
monthly expenses in Python programming language.

Creating Variables

To create a variable, you need to use an assignment operator. The left-hand side of the operator
is the variable name, and the right-hand side is the value. For instance, you can create variables
for your monthly expenses:

 Rent: $1220

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller aniketchavan. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $21.29. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76800 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$21.29
  • (0)
  Add to cart