3. Basic Data structures

Get Started. It's Free
or sign up with your email address
3. Basic Data structures by Mind Map: 3. Basic Data structures

1. Data Types

1.1. Numerical

1.1.1. Real

1.1.1.1. AKA **float** in Python

1.1.2. Integer

1.1.3. Complex

1.2. Logical

1.2.1. AKA **boolean** in Python

1.3. Categorical

1.3.1. Nominal

1.3.2. Ordinal

1.4. Date

1.5. Character or String

2. Basic Data Structures in R and Python

2.1. Common between R and Python

2.1.1. Vector

2.1.1.1. several elements, as long as the elements are of the same data type

2.1.1.1.1. it coerces elements so they all are the same type!

2.1.2. List

2.1.2.1. several elements, the elements can be of any data type

2.2. Only Python

2.2.1. Tuple

2.2.1.1. several elements, the elements can be of any data type

2.2.1.1.1. no modifications are allowed

2.2.2. Set

2.2.2.1. several elements, the elements can be of any data type

2.2.2.1.1. no duplicates allowed

2.2.3. Dictionary

2.2.3.1. several elements, the elements can be of any data type

2.2.3.2. each element must have a key, the identifier of the element.

2.2.3.2.1. no duplicate keys allowed