0% found this document useful (0 votes)
79 views

Pandas: Created in 2008 by Wes Mckinney Open Source New BSD License 100 Different Contributors

This document introduces resources for learning pandas and data science in Python. It discusses Pandas, an open-source data analysis library created in 2008. It also mentions Stack Overflow, Planet Python, and the Data Skeptic podcast as additional resources for learning about pandas and data science. Finally, it provides examples of using Series and DataFrames to structure and manipulate data in pandas.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Pandas: Created in 2008 by Wes Mckinney Open Source New BSD License 100 Different Contributors

This document introduces resources for learning pandas and data science in Python. It discusses Pandas, an open-source data analysis library created in 2008. It also mentions Stack Overflow, Planet Python, and the Data Skeptic podcast as additional resources for learning about pandas and data science. Finally, it provides examples of using Series and DataFrames to structure and manipulate data in pandas.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

INTRODUCTION TO DATA

Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

Pandas
• Created in 2008 by Wes McKinney
• Open source New BSD license
• 100 different contributors
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

Stack Overflow
• http://stackoverflow.com
• Massive knowledge forum of
python and pandas related content
• Free to join and participate in
• Heavily used by pandas developers
instead of a mailing list
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

Planet Python
• http://planetpython.org/
• Excellent blog aggregator for
python related news
• Significant number of data science
and python tutorials are posted
• Great blend of applied beginner
and higher level python postings
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

Data Skeptic Podcast


• http://dataskeptic.com/
• Kyle Polich, created in 2014
• Covers data science more
generally, including:
– Mini educational lessons
– Interviews
– Trends
– Shared community project
(OpenHouse)
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

The Series

Animals Name
0 Dog
1 Bear
2 Tiger
Index Values
3 Moose
4 Giraffe
5 Hippopotamus
6 Mouse
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

Index
The DataFrame
.loc(), .iloc() Axis 1 (columns)
Animals Owners .columns()

Axis 0 (rows) 0 Dog Chris


1 Bear Kevyn
df.iloc(2) 2 Tiger Bob
Values
3 Moose Vinod
4 Giraffe Daniel
5 Hippopotamus Fil
6 Mouse Stephanie
df[“Owners”]
df.iloc(5)[“Animals”]
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON
INTRODUCTION TO DATA
Week 2 Top Bar Reserved for U-M Branding and Course Information
SCIENCE IN PYTHON

df Boolean mask result


Animals Owners Animals Owners
0 Dog Chris True True 0 Dog Chris
1 Bear Kevyn True True 1 Bear Kevyn
2 Tiger Bob False False 3 Moose Vinod
+ =
3 Moose Vinod True True
4 Giraffe Daniel False False
5 Hippo Fil False False
6 Mouse Stephanie False False

You might also like