Skip to content

Commit 6e525dc

Browse files
committed
DOC: Clarify data alignment in 'dsintro' user guide
1 parent 2d73d62 commit 6e525dc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/source/user_guide/dsintro.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ objects. To get started, import NumPy and load pandas into your namespace:
1616
import numpy as np
1717
import pandas as pd
1818
19-
Fundamentally, **data alignment is intrinsic**. The link
20-
between labels and data will not be broken unless done so explicitly by you.
19+
A fundamental feature in pandas is **automatic data alignment**. This means
20+
that pandas keeps your data attached to its labels (the index). When you
21+
perform an operation, like adding two Series (columns), pandas will match them
22+
by their labels, not by their position. The link between data and labels will
23+
not be broken unless you explicitly change them yourself.
24+
2125

2226
We'll give a brief intro to the data structures, then consider all of the broad
2327
categories of functionality and methods in separate sections.

0 commit comments

Comments
 (0)