STATS 507 Data Analysis in Python
STATS 507 Data Analysis in Python
Lecture 3: Lists
Python Lists
Strings in Python are "sequences of characters"
But what if I want a sequence of something else? A vector would be naturally represented as a sequence of numbers A class roster might be represented as a sequence of strings
Python lists are sequences whose values can be of any data type We call these list entries the elements of the list
Constructing Lists
We create a list by putting its elements between square brackets, separated by commas.
Constructing Lists
We create a list by putting its elements between square brackets, separated by commas.
This is a list of four strings.
Constructing Lists
We create a list by putting its elements between square brackets, separated by commas.
This is a list of nine integers
................
................
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
- for kidsfor kids
- sams teach yourself python in 24 hours
- introduction to python
- beginning programming with python for dummies 2nd edition
- optimization with gurobi and python
- comp150 practical programming in python
- stats 507 data analysis in python
- getting started with python programming
- maths with python documentation read the docs
Related searches
- data analysis in research methodology
- data analysis in research pdf
- data analysis in qualitative research pdf
- data analysis in qualitative research
- data analysis in quantitative research
- data analysis in research examples
- data analysis in research
- example of data analysis what is data analysis in research
- data analysis in research definition
- what is data analysis in research
- types of data analysis in research
- data analysis in excel