|
Tutorial 3: Introduction to Functions and Libraries in Python
Full text PDF
Bibliographic information:
BibTEX format
RIS format
XML format
APA style
Cited references information:
BibTEX format
APA style
Doi:
10.20982/tqmp.17.4.S013
Ross, Matt
, Church, Kinsey
, Rolon-Mérette, Damien
S13-S20
Keywords:
Python
, Psychology
Tools: Python
(no sample data)
 
(no appendix)
The third introductory tutorial of our series "Python for Researchers in Psychology" aims to teach researchers about the importance of functions and libraries. First, we introduce the concept of functions. We cover the advantages of functions and how to use them with the help of basic examples, including a paired-samples (dependent-samples) t-test. Then, libraries and their included functions are discussed, including how to import them and the functionality of some of the most popular libraries for researchers in psychology. Finally, a longer, more complex example shows how functions and libraries can help accelerate your research, statistical analyses, and data visualization.
|