INTRODUCTION TO PANDAS, TESTING & TEST-DRIVEN DATA ANALYSIS
[Pages:67]INTRODUCTION TO PANDAS, TESTING
& TEST-DRIVEN DATA ANALYSIS
Europython 2018 ? Edinburgh ? Tutorial ? 23rd July 2018
Nicholas J. Radcliffe Stochastic Solutions Limited & Department of Mathematics, University of Edinburgh
@SPatout
PANDAS NUMPY, & SCIPY
NUMPY & SCIPY
? Numpy & Scipy are fast, powerful, stable libraries for
numerical and scientific computing in Python, providing excellent C-like performance
? They are probably the biggest reason Python has gained the
success it has in Data Science
? The are incredibly widely used, including by SciKit Learn ? Initially created by Travis Oliphant (thanks, Travis!) ? Excellent documentation
PRONUNCIATION
? It's a free country: you can pronounce them however you
like. That said:
? Numpy: NUM-PIE, (not NUM-PEE!) ? SciPy: SIGH-PIE, (definitely not SKIPPY!!) ? SciKit Learn: SIGH-KIT-LURN, (definitely,
definitely not PSYCHIC LEARN!!!)
PANDAS
? Provides (column) database-style access to Numpy and
Numpy-like data structures and adds further data-sciencefriendly operations.
? Very widely used in data science. ? Under active development; not particularly stable ? Famously terrible documentation (but there are ongoing
efforts to improve, including at sprints)
? Initially created by Wes McKinney
DATABASE JOINS ?
PANDAS MERGES
DATABASE JOINS
Key
LeftVal
A
L1
L
B
L2
C
L3
A
L4
Key RightVal
A
R1
R
A
R2
B
R3
D
R4
INNER JOIN
Key
LeftVal RightVal
A
L1
R1
A
L1
R2
A
L4
R1
A
L4
R2
B
L2
R3
All combinations of all keys present in left and right tables
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- housebillno 692 bystateaffairscommittee inthehouseofrepresentatives 2
- ppyytthhoonn mmoocckk tteesstt iiii
- datetime conversion — converting strings to stata dates
- convert string variables to numeric variables and vice versa stata
- pandas udf and python type hint in apache spark 3
- split — split string variables into parts stata
- lab 2 bios interrupts int 10h text and pixel based graphics 1 1
- convert html table to pandas dataframe search pros inc
- introduction to pandas testing test driven data analysis
- converting numeric and character data
Related searches
- how to get data analysis on excel
- example of data analysis what is data analysis in research
- introduction to java programming and data structures
- introduction to real analysis pdf
- introduction to mathematical analysis pdf
- introduction to analysis pdf
- pandas for data analysis pdf
- how to write a data analysis paper
- introduction to circuit analysis pdf
- introduction to data analysis ppt
- introduction to data analysis pdf
- how to find data analysis on excel