6. Basic Operations on Data Frames

Get Started. It's Free
or sign up with your email address
6. Basic Operations on Data Frames by Mind Map: 6. Basic Operations on Data Frames

1. Basic Operations

1.1. Create

1.1.1. Python

1.1.2. R

1.2. Access

1.2.1. Python

1.2.1.1. byIndex

1.2.1.1.1. get a DF

1.2.1.2. byValue

1.2.1.2.1. get a DF

1.2.2. R

1.2.2.1. byIndex

1.2.2.1.1. get a DF

1.2.2.2. byValue

1.2.2.2.1. get a DF

1.3. Replace

1.3.1. Python

1.3.1.1. one Value

1.3.1.1.1. several

1.3.2. R

1.3.2.1. one Value

1.3.2.1.1. several

1.4. Delete

1.4.1. Columns

1.4.1.1. Python

1.4.1.2. R

1.4.2. Rows

1.4.2.1. Python

1.4.2.1.1. As you see, the indexes dissapeared. Then, you should reset the indexes:

1.4.2.2. R

1.4.2.2.1. As you see, the indexes dissapeared. Then, you should reset the indexes:

1.4.3. Cells

1.4.3.1. Python

1.4.3.2. R

1.5. Insert

1.5.1. Columns

1.5.1.1. Python

1.5.1.2. R

1.5.2. Rows

1.5.2.1. Python

1.5.2.2. R

1.6. other important operations (Python versus R)

1.6.1. data structure

1.6.1.1. type() vs class()

1.6.2. check data types

1.6.2.1. .info() vs str()

1.6.3. dimension of data frame

1.6.3.1. .shape vs dim()

1.6.4. amount of elements

1.6.4.1. len() vs length()

1.6.5. see some rows

1.6.5.1. .head() vs head() - .tail() vs tail()

1.6.6. column names

1.6.6.1. .columns vs. names()

1.6.7. row names

1.6.7.1. .index vs rownames()