File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ example dataset containing the passenger list from the Titanic, which is often u
3737
3838We can download the data from `this GitHub repository <https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/data/titanic.csv >`__
3939by visiting the page and saving it to disk, or by directly reading into
40- a ** dataframe ** ::
40+ a :class: ` ~pandas.DataFrame ` ::
4141
4242 url = "https://raw.githubusercontent.com/pandas-dev/pandas/master/doc/data/titanic.csv"
4343 titanic = pd.read_csv(url, index_col='Name')
@@ -94,8 +94,7 @@ is composed of rows and columns:
9494
9595.. image :: img/pandas/01_table_dataframe.svg
9696
97- Each column of a dataframe is a
98- `series object <https://pandas.pydata.org/docs/user_guide/dsintro.html#series >`__
97+ Each column of a dataframe is a :class: `pandas.Series ` object
9998- a dataframe is thus a collection of series::
10099
101100 # print some information about the columns
@@ -116,7 +115,7 @@ The columns have names. Here's how to get them::
116115
117116 titanic.columns
118117
119- However, the rows also have names! This is what Pandas calls the ** index ** ::
118+ However, the rows also have names! This is what Pandas calls the :obj: ` ~pandas.DataFrame. index` ::
120119
121120 titanic.index
122121
You can’t perform that action at this time.
0 commit comments