Pandas Series: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
=Index=
=Index=
{{External|https://pandas.pydata.org/docs/reference/api/pandas.Series.index.html}}
{{External|https://pandas.pydata.org/docs/reference/api/pandas.Series.index.html}}
{{External|https://pandas.pydata.org/docs/reference/indexing.html}}
==RangeIndex==
<code>RangeIndex(start=0, stop=3, step=1)</code>
=Create a Series=
=Create a Series=
=Accessing Elements of a Series=
=Accessing Elements of a Series=

Revision as of 17:29, 8 October 2023

External

Internal

Overview

By default, in absence of any explicit specification, a series gets a monotonic integer range, starting with 0 and with the step 1.

Process

https://www.geeksforgeeks.org/python-pandas-series/

Index

https://pandas.pydata.org/docs/reference/api/pandas.Series.index.html
https://pandas.pydata.org/docs/reference/indexing.html

RangeIndex

RangeIndex(start=0, stop=3, step=1)

Create a Series

Accessing Elements of a Series

This is known as indexing or subset selection.

Operations on Series

Filtering

Transformation

This class of operations are referred to as transformations or conversions.

Binary Operations