id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_pandas_functions/Series_243_3.txt | ml)
* [ pandas.DataFrame.sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Ser... | |
Python_pandas_functions/DataFrame_179_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/GroupBy_87_2.txt | l.html)
* [ pandas.core.groupby.DataFrameGroupBy.take ](pandas.core.groupby.DataFrameGroupBy.take.html)
* [ pandas.core.groupby.DataFrameGroupBy.value_counts ](pandas.core.groupby.DataFrameGroupBy.value_counts.html)
* [ pandas.core.groupby.SeriesGroupBy.all ](pandas.core.groupby.SeriesGroupBy.all.html)
... | |
Python_pandas_functions/Index_Objects_101_5.txt | pandas-
dev/pandas/blob/v2.2.2/pandas/core/indexes/extension.py#L67-L75) #
Number of seconds (>= 0 and less than 1 day) for each element.
Examples
For Series:
>>> ser = pd.Series(pd.to_timedelta([1, 2, 3], unit='s'))
>>> ser
0 0 days 00:00:01
1 0 days 00:00:02
2 0 days 00:0... | |
Python_pandas_functions/DataFrame_104_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_11_1.txt | html)
* [ pandas.Series.rtruediv ](pandas.Series.rtruediv.html)
* [ pandas.Series.rfloordiv ](pandas.Series.rfloordiv.html)
* [ pandas.Series.rmod ](pandas.Series.rmod.html)
* [ pandas.Series.rpow ](pandas.Series.rpow.html)
* [ pandas.Series.combine ](pandas.Series.combine.html)
* [ pandas.Serie... | |
Python_pandas_functions/GroupBy_106_4.txt |
[ __ previous pandas.core.groupby.SeriesGroupBy.mean
](pandas.core.groupby.SeriesGroupBy.mean.html "previous page") [ next
pandas.core.groupby.SeriesGroupBy.min __
](pandas.core.groupby.SeriesGroupBy.min.html "next page")
__ On this page
* ` SeriesGroupBy.median() `
[ __ Show Source
](../../_sources/refere... | |
Python_pandas_functions/Series_226_3.txt | se ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Series.dt.year ](pandas.Series.dt.ye... | |
Python_pandas_functions/DataFrame_57_2.txt | e ](pandas.DataFrame.nunique.html)
* [ pandas.DataFrame.value_counts ](pandas.DataFrame.value_counts.html)
* [ pandas.DataFrame.add_prefix ](pandas.DataFrame.add_prefix.html)
* [ pandas.DataFrame.add_suffix ](pandas.DataFrame.add_suffix.html)
* [ pandas.DataFrame.align ](pandas.DataFrame.align.html)
... | |
Python_pandas_functions/DataFrame_189_1.txt | truediv ](pandas.DataFrame.truediv.html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](panda... | |
Python_pandas_functions/DataFrame_53_1.txt | uediv.html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](pandas.DataFrame.radd.html)
* ... | |
Python_pandas_functions/Series_6_7.txt | asfreq.html#pandas.Series.asfreq
"pandas.Series.asfreq")
Reindex a Series/DataFrame with the given frequency without grouping.
Notes
See the [ user guide ](https://pandas.pydata.org/pandas-
docs/stable/user_guide/timeseries.html#resampling) for more.
To learn more about the offset strings, please see [ this l... | |
Python_pandas_functions/GroupBy_41_1.txt | oupBy.corrwith ](pandas.core.groupby.DataFrameGroupBy.corrwith.html)
* [ pandas.core.groupby.DataFrameGroupBy.count ](pandas.core.groupby.DataFrameGroupBy.count.html)
* [ pandas.core.groupby.DataFrameGroupBy.cov ](pandas.core.groupby.DataFrameGroupBy.cov.html)
* [ pandas.core.groupby.DataFrameGroupBy.cumcou... | |
Python_pandas_functions/Series_29_4.txt | andas.Series.str.casefold.html)
* [ pandas.Series.str.cat ](pandas.Series.str.cat.html)
* [ pandas.Series.str.center ](pandas.Series.str.center.html)
* [ pandas.Series.str.contains ](pandas.Series.str.contains.html)
* [ pandas.Series.str.count ](pandas.Series.str.count.html)
* [ pandas.Series.str.de... | |
Python_pandas_functions/Index_Objects_130_1.txt | ](pandas.Index.take.html)
* [ pandas.Index.putmask ](pandas.Index.putmask.html)
* [ pandas.Index.unique ](pandas.Index.unique.html)
* [ pandas.Index.nunique ](pandas.Index.nunique.html)
* [ pandas.Index.value_counts ](pandas.Index.value_counts.html)
* [ pandas.Index.set_names ](pandas.Index.set_name... | |
Python_pandas_functions/DataFrame_57_1.txt | uediv
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](pandas.DataFrame.radd.html)
* [ pan... | |
Python_pandas_functions/GroupBy_111_3.txt | pBy.rolling ](pandas.core.groupby.SeriesGroupBy.rolling.html)
* [ pandas.core.groupby.SeriesGroupBy.sample ](pandas.core.groupby.SeriesGroupBy.sample.html)
* [ pandas.core.groupby.SeriesGroupBy.sem ](pandas.core.groupby.SeriesGroupBy.sem.html)
* [ pandas.core.groupby.SeriesGroupBy.shift ](pandas.core.groupb... | |
Python_pandas_functions/Series_271_6.txt | or Index.
Return boolean Series or Index based on whether a given pattern or regex is
contained within a string of a Series or Index.
Parameters :
**pat** str
Character sequence or regular expression.
**case** bool, default True
If True, case sensitive.
**flags** int, default 0 (no flags)
... | |
Python_pandas_functions/DataFrame_171_4.txt | pby.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.html)
* [ Extensions ](../extensions.html)
* [ Testing ](../testing.html)
* [ Missing values ](../missing_value.html)
* [ __ ](../../index.html)
* [ API ref... | |
Python_pandas_functions/Series_13_6.txt | e same size containing the cumulative sum.
Parameters :
**axis** {0 or âindexâ, 1 or âcolumnsâ}, default 0
The index or the name of the axis. 0 is equivalent to None or âindexâ. For
Series this parameter is unused and defaults to 0.
**skipna** bool, default True
Exclude NA/null valu... | |
Python_pandas_functions/Series_322_2.txt | ries.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
* [ pandas.Series.idxma... | |
Python_pandas_functions/GroupBy_27_3.txt | e.groupby.SeriesGroupBy.rolling ](pandas.core.groupby.SeriesGroupBy.rolling.html)
* [ pandas.core.groupby.SeriesGroupBy.sample ](pandas.core.groupby.SeriesGroupBy.sample.html)
* [ pandas.core.groupby.SeriesGroupBy.sem ](pandas.core.groupby.SeriesGroupBy.sem.html)
* [ pandas.core.groupby.SeriesGroupBy.shift ... | |
Python_pandas_functions/Series_229_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Index_Objects_176_1.txt | ](pandas.Index.take.html)
* [ pandas.Index.putmask ](pandas.Index.putmask.html)
* [ pandas.Index.unique ](pandas.Index.unique.html)
* [ pandas.Index.nunique ](pandas.Index.nunique.html)
* [ pandas.Index.value_counts ](pandas.Index.value_counts.html)
* [ pandas.Index.set_names ](pandas.Index.set_name... | |
Python_pandas_functions/DataFrame_146_4.txt | tml)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.html)
* [ Extensions ](../extensions.html)
* [ Testing ](../testing.html)
* [ Missing values ](../missing_value.html)
* [ __ ](../../index.html)
* [ API referenc... | |
Python_pandas_functions/DataFrame_51_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Index_Objects_85_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_99_2.txt | vel.html)
* [ pandas.Series.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
... | |
Python_pandas_functions/Series_4_5.txt | ategories ](pandas.Series.cat.reorder_categories.html)
* [ pandas.Series.cat.add_categories ](pandas.Series.cat.add_categories.html)
* [ pandas.Series.cat.remove_categories ](pandas.Series.cat.remove_categories.html)
* [ pandas.Series.cat.remove_unused_categories ](pandas.Series.cat.remove_unused_categories... | |
Python_pandas_functions/DataFrame_3_2.txt | l)
* [ pandas.DataFrame.nunique ](pandas.DataFrame.nunique.html)
* [ pandas.DataFrame.value_counts ](pandas.DataFrame.value_counts.html)
* [ pandas.DataFrame.add_prefix ](pandas.DataFrame.add_prefix.html)
* [ pandas.DataFrame.add_suffix ](pandas.DataFrame.add_suffix.html)
* [ pandas.DataFrame.align ... | |
Python_pandas_functions/Index_Objects_145_3.txt | ond ](pandas.DatetimeIndex.second.html)
* [ pandas.DatetimeIndex.microsecond ](pandas.DatetimeIndex.microsecond.html)
* [ pandas.DatetimeIndex.nanosecond ](pandas.DatetimeIndex.nanosecond.html)
* [ pandas.DatetimeIndex.date ](pandas.DatetimeIndex.date.html)
* [ pandas.DatetimeIndex.time ](pandas.Datetim... | |
Python_pandas_functions/Index_Objects_56_2.txt | Index.from_arrays ](pandas.IntervalIndex.from_arrays.html)
* [ pandas.IntervalIndex.from_tuples ](pandas.IntervalIndex.from_tuples.html)
* [ pandas.IntervalIndex.from_breaks ](pandas.IntervalIndex.from_breaks.html)
* [ pandas.IntervalIndex.left ](pandas.IntervalIndex.left.html)
* [ pandas.IntervalIndex.... | |
Python_pandas_functions/Series_186_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_343_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Index_Objects_237_2.txt | * [ pandas.IntervalIndex.from_arrays ](pandas.IntervalIndex.from_arrays.html)
* [ pandas.IntervalIndex.from_tuples ](pandas.IntervalIndex.from_tuples.html)
* [ pandas.IntervalIndex.from_breaks ](pandas.IntervalIndex.from_breaks.html)
* [ pandas.IntervalIndex.left ](pandas.IntervalIndex.left.html)
* [ pa... | |
Python_pandas_functions/Index_Objects_216_4.txt | ltaIndex.round ](pandas.TimedeltaIndex.round.html)
* [ pandas.TimedeltaIndex.floor ](pandas.TimedeltaIndex.floor.html)
* [ pandas.TimedeltaIndex.ceil ](pandas.TimedeltaIndex.ceil.html)
* [ pandas.TimedeltaIndex.to_frame ](pandas.TimedeltaIndex.to_frame.html)
* [ pandas.TimedeltaIndex.mean ](pandas.Timed... | |
Python_pandas_functions/Series_168_5.txt | categories ](pandas.Series.cat.reorder_categories.html)
* [ pandas.Series.cat.add_categories ](pandas.Series.cat.add_categories.html)
* [ pandas.Series.cat.remove_categories ](pandas.Series.cat.remove_categories.html)
* [ pandas.Series.cat.remove_unused_categories ](pandas.Series.cat.remove_unused_categorie... | |
Python_pandas_functions/Series_273_2.txt | ries.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
* [ pandas.Series.idxma... | |
Python_pandas_functions/DataFrame_212_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/DataFrame_95_4.txt | y.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.html)
* [ Extensions ](../extensions.html)
* [ Testing ](../testing.html)
* [ Missing values ](../missing_value.html)
* [ __ ](../../index.html)
* [ API refer... | |
Python_pandas_functions/Index_Objects_52_3.txt | ond ](pandas.DatetimeIndex.second.html)
* [ pandas.DatetimeIndex.microsecond ](pandas.DatetimeIndex.microsecond.html)
* [ pandas.DatetimeIndex.nanosecond ](pandas.DatetimeIndex.nanosecond.html)
* [ pandas.DatetimeIndex.date ](pandas.DatetimeIndex.date.html)
* [ pandas.DatetimeIndex.time ](pandas.Datetim... | |
Python_pandas_functions/Series_73_6.txt | /pandas/core/generic.py#L12530-L12591) #
Provide rolling window calculations.
Parameters :
**window** int, timedelta, str, offset, or BaseIndexer subclass
Size of the moving window.
If an integer, the fixed number of observations used for each window.
If a timedelta, str, or offset, the time pe... | |
Python_pandas_functions/DataFrame_86_4.txt | /resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.html)
* [ Extensions ](../extensions.html)
* [ Testing ](../testing.html)
* [ Missing values ](../missing_value.html)
* [ __ ](../../index.html)
* [ API reference ](../index.html)
* [ D... | |
Python_pandas_functions/Series_120_1.txt | ediv ](pandas.Series.rtruediv.html)
* [ pandas.Series.rfloordiv ](pandas.Series.rfloordiv.html)
* [ pandas.Series.rmod ](pandas.Series.rmod.html)
* [ pandas.Series.rpow ](pandas.Series.rpow.html)
* [ pandas.Series.combine ](pandas.Series.combine.html)
* [ pandas.Series.combine_first ](pandas.Series.... | |
Python_pandas_functions/Series_91_4.txt | ndas.Series.str.casefold.html)
* [ pandas.Series.str.cat ](pandas.Series.str.cat.html)
* [ pandas.Series.str.center ](pandas.Series.str.center.html)
* [ pandas.Series.str.contains ](pandas.Series.str.contains.html)
* [ pandas.Series.str.count ](pandas.Series.str.count.html)
* [ pandas.Series.str.dec... | |
Python_pandas_functions/Series_59_3.txt | sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Series.dt.year ](pandas.Series.d... | |
Python_pandas_functions/Index_Objects_113_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_20_6.txt | alent to ` series / other ` , but with support to substitute a
fill_value for missing data in either one of the inputs.
Parameters :
**other** Series or scalar value
**level** int or name
Broadcast across a level, matching Index values on the passed MultiIndex
level.
**fill_value** None or flo... | |
Python_pandas_functions/Series_294_9.txt | .Series.count.html#pandas.Series.count "pandas.Series.count") () | Return number of non-NA/null observations in the Series.
[ ` cov ` ](pandas.Series.cov.html#pandas.Series.cov "pandas.Series.cov") (other[, min_periods, ddof]) | Compute covariance with Series, excluding missing values.
[ ` cummax ` ](pand... | |
Python_pandas_functions/Index_Objects_242_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/GroupBy_30_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Index_Objects_175_1.txt | ](pandas.Index.take.html)
* [ pandas.Index.putmask ](pandas.Index.putmask.html)
* [ pandas.Index.unique ](pandas.Index.unique.html)
* [ pandas.Index.nunique ](pandas.Index.nunique.html)
* [ pandas.Index.value_counts ](pandas.Index.value_counts.html)
* [ pandas.Index.set_names ](pandas.Index.set_name... | |
Python_pandas_functions/Index_Objects_155_4.txt | as.TimedeltaIndex.round ](pandas.TimedeltaIndex.round.html)
* [ pandas.TimedeltaIndex.floor ](pandas.TimedeltaIndex.floor.html)
* [ pandas.TimedeltaIndex.ceil ](pandas.TimedeltaIndex.ceil.html)
* [ pandas.TimedeltaIndex.to_frame ](pandas.TimedeltaIndex.to_frame.html)
* [ pandas.TimedeltaIndex.mean ](pan... | |
Python_pandas_functions/Index_Objects_123_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_305_3.txt | .sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Series.dt.year ](pandas.Series.... | |
Python_pandas_functions/Index_Objects_118_5.txt | x.notna.html "previous page")
[ next pandas.Index.item __ ](pandas.Index.item.html "next page")
__ On this page
* ` Index.astype() `
[ __ Show Source ](../../_sources/reference/api/pandas.Index.astype.rst.txt)
© 2024, pandas via [ NumFOCUS, Inc. ](https://numfocus.org) Hosted by [
OVHcloud ](https://www.ovhclo... | |
Python_pandas_functions/DataFrame_192_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Python_pandas_functions_31_2.txt |
>>> l = pd.wide_to_long(df, stubnames='ht', i=['famid', 'birth'], j='age',
... sep='_', suffix=r'\w+')
>>> l
...
ht
famid birth age
1 1 one 2.8
two 3.4
2 one 2.9
two 3.8
3 o... | |
Python_pandas_functions/General_Function_32_1.txt | eries, or DataFrame
**index** bool, default True
Include the index in the hash (if Series/DataFrame).
**encoding** str, default âutf8â
Encoding for data & key when strings.
**hash_key** str, default _default_hash_key
Hash_key for string key to encode.
**categorize** bool, default True
... | |
Python_pandas_functions/Index_Objects_178_5.txt | tion.html
"next page")
__ On this page
* ` Index.join() `
[ __ Show Source ](../../_sources/reference/api/pandas.Index.join.rst.txt)
© 2024, pandas via [ NumFOCUS, Inc. ](https://numfocus.org) Hosted by [
OVHcloud ](https://www.ovhcloud.com) .
Created using [ Sphinx ](https://www.sphinx-doc.org/) 7.2.6.
Buil... | |
Python_pandas_functions/Series_27_5.txt | rder_categories ](pandas.Series.cat.reorder_categories.html)
* [ pandas.Series.cat.add_categories ](pandas.Series.cat.add_categories.html)
* [ pandas.Series.cat.remove_categories ](pandas.Series.cat.remove_categories.html)
* [ pandas.Series.cat.remove_unused_categories ](pandas.Series.cat.remove_unused_cate... | |
Python_pandas_functions/DataFrame_139_1.txt | truediv ](pandas.DataFrame.truediv.html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](panda... | |
Python_pandas_functions/General_Function_16_2.txt | t = pd.DataFrame({"left_val": ["a", "b", "c"]}, index=[1, 5, 10])
>>> left
left_val
1 a
5 b
10 c
>>> right = pd.DataFrame({"right_val": [1, 2, 3, 6, 7]}, index=[1, 2, 3, 6, 7])
>>> right
right_val
1 1
2 2
3 ... | |
Python_pandas_functions/Python_pandas_functions_17_0.txt | # pandas.pivot_table #
pandas. pivot_table ( _ data _ , _ values = None _ , _ index = None
_ , _ columns = None _ , _ aggfunc = 'mean' _ , _ fill_value = None _
, _ margins = False _ , _ dropna = True _ , _ margins_name = 'All' _
, _ observed = _NoDefault.no_default _ , _ sort = True ... | |
Python_pandas_functions/Series_0_6.txt | ex object and makes
this time zone aware. It does not move the time to another time zone.
This method can also be used to do the inverse â to create a time zone
unaware object from an aware object. To that end, pass tz=None .
Parameters :
**tz** str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or N... | |
Python_pandas_functions/DataFrame_127_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[  ](../index.html)
Site Navigation
* [ Getting started ](../getting_started/index.html)
* [ User Guide ](../user_guide/index.html)
* API reference
* [ Development ](../development/index.htm... | |
Python_pandas_functions/Index_Objects_221_3.txt | ond ](pandas.DatetimeIndex.second.html)
* [ pandas.DatetimeIndex.microsecond ](pandas.DatetimeIndex.microsecond.html)
* [ pandas.DatetimeIndex.nanosecond ](pandas.DatetimeIndex.nanosecond.html)
* [ pandas.DatetimeIndex.date ](pandas.DatetimeIndex.date.html)
* [ pandas.DatetimeIndex.time ](pandas.Datetim... | |
Python_pandas_functions/Index_Objects_14_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_134_1.txt | html)
* [ pandas.Series.rtruediv ](pandas.Series.rtruediv.html)
* [ pandas.Series.rfloordiv ](pandas.Series.rfloordiv.html)
* [ pandas.Series.rmod ](pandas.Series.rmod.html)
* [ pandas.Series.rpow ](pandas.Series.rpow.html)
* [ pandas.Series.combine ](pandas.Series.combine.html)
* [ pandas.Serie... | |
Python_pandas_functions/DataFrame_77_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_145_4.txt | pandas.Series.str.casefold.html)
* [ pandas.Series.str.cat ](pandas.Series.str.cat.html)
* [ pandas.Series.str.center ](pandas.Series.str.center.html)
* [ pandas.Series.str.contains ](pandas.Series.str.contains.html)
* [ pandas.Series.str.count ](pandas.Series.str.count.html)
* [ pandas.Series.str.d... | |
Python_pandas_functions/Series_303_7.txt | tion** float
Specify relative alignments for bar plot layout. From 0 (left/bottom-end) to 1
(right/top-end). Default is 0.5 (center).
**table** bool, Series or DataFrame, default False
If True, draw a table using the data in the DataFrame and the data will be
transposed to meet matplotlibâs default lay... | |
Python_pandas_functions/Index_Objects_168_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_10_2.txt | vel.html)
* [ pandas.Series.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
... | |
Python_pandas_functions/GroupBy_83_4.txt | __ previous pandas.core.groupby.DataFrameGroupBy.fillna
](pandas.core.groupby.DataFrameGroupBy.fillna.html "previous page") [ next
pandas.core.groupby.DataFrameGroupBy.head __
](pandas.core.groupby.DataFrameGroupBy.head.html "next page")
__ On this page
* ` DataFrameGroupBy.first() `
[ __ Show Source
](../../_s... | |
Python_pandas_functions/Index_Objects_196_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_30_2.txt | vel.html)
* [ pandas.Series.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
... | |
Python_pandas_functions/Index_Objects_89_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Index_Objects_231_2.txt | IntervalIndex.html) __
* [ pandas.IntervalIndex.closed ](pandas.IntervalIndex.closed.html)
* [ pandas.IntervalIndex.is_empty ](pandas.IntervalIndex.is_empty.html)
* pandas.IntervalIndex.is_non_overlapping_monotonic
* [ pandas.IntervalIndex.is_overlapping ](pandas.IntervalIndex.is_overlapping.ht... | |
Python_pandas_functions/DataFrame_20_1.txt | truediv ](pandas.DataFrame.truediv.html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](panda... | |
Python_pandas_functions/DataFrame_39_14.txt | Frame.to_period") ([freq, axis, copy]) | Convert DataFrame from DatetimeIndex to PeriodIndex.
[ ` to_pickle ` ](pandas.DataFrame.to_pickle.html#pandas.DataFrame.to_pickle "pandas.DataFrame.to_pickle") (path, *[, compression, protocol, ...]) | Pickle (serialize) object to file.
[ ` to_records ` ](panda... | |
Python_pandas_functions/Series_61_6.txt | > s.npoints
3
[ __ previous pandas.Series.cat.as_unordered
](pandas.Series.cat.as_unordered.html "previous page") [ next
pandas.Series.sparse.density __ ](pandas.Series.sparse.density.html "next
page")
__ On this page
* ` Series.sparse.npoints `
[ __ Show Source
](../../_sources/reference/api/pandas.S... | |
Python_pandas_functions/Series_53_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_149_6.txt | n where the substring is
fully contained between [start:end]. Return -1 on failure. Equivalent to
standard [ ` str.find() `
](https://docs.python.org/3/library/stdtypes.html#str.find "\(in Python
v3.12\)") .
Parameters :
**sub** str
Substring being searched.
**start** int
Left edge index.
**en... | |
Python_pandas_functions/Series_248_8.txt | },
{
"name": "col 1",
"type": "string"
},
{
"name": "col 2",
"type": "string"
}
],
"primaryKey": [
"index"
],
... | |
Python_pandas_functions/Series_321_3.txt | ml)
* [ pandas.DataFrame.sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Ser... | |
Python_pandas_functions/Series_196_3.txt | .sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* [ pandas.Series.dt.date ](pandas.Series.dt.date.html)
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Series.dt.year ](pandas.Series.... | |
Python_pandas_functions/Series_40_7.txt | tr.istitle ` method checks for whether all words are in title case
(whether only the first letter of each word is capitalized). Words are assumed
to be as any sequence of non-numeric characters separated by whitespace
characters.
>>> s5.str.istitle()
0 False
1 True
2 False
3 ... | |
Python_pandas_functions/Series_340_2.txt | vel.html)
* [ pandas.Series.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
... | |
Python_pandas_functions/DataFrame_80_1.txt | truediv ](pandas.DataFrame.truediv.html)
* [ pandas.DataFrame.floordiv ](pandas.DataFrame.floordiv.html)
* [ pandas.DataFrame.mod ](pandas.DataFrame.mod.html)
* [ pandas.DataFrame.pow ](pandas.DataFrame.pow.html)
* [ pandas.DataFrame.dot ](pandas.DataFrame.dot.html)
* [ pandas.DataFrame.radd ](panda... | |
Python_pandas_functions/Index_Objects_197_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/DataFrame_210_4.txt | by.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.html)
* [ Extensions ](../extensions.html)
* [ Testing ](../testing.html)
* [ Missing values ](../missing_value.html)
* [ __ ](../../index.html)
* [ API refe... | |
Python_pandas_functions/Series_276_3.txt | ml)
* [ pandas.DataFrame.sparse ](pandas.DataFrame.sparse.html)
* [ pandas.Index.str ](pandas.Index.str.html)
* pandas.Series.dt.date
* [ pandas.Series.dt.time ](pandas.Series.dt.time.html)
* [ pandas.Series.dt.timetz ](pandas.Series.dt.timetz.html)
* [ pandas.Series.dt.year ](pandas.Series.dt.... | |
Python_pandas_functions/Series_326_6.txt | previous row).
Parameters :
**periods** int, default 1
Periods to shift for calculating difference, accepts negative values.
Returns :
Series
First differences of the Series.
See also
[ ` Series.pct_change `
](pandas.Series.pct_change.html#pandas.Series.pct_change
"pandas.Series.pct_c... | |
Python_pandas_functions/Series_291_0.txt | Skip to main content
__ Back to top
__ ` Ctrl ` \+ ` K `
[ 
](../../index.html)
Site Navigation
* [ Getting started ](../../getting_started/index.html)
* [ User Guide ](../../user_guide/index.html)
* [ API reference ](../index.html)
* [ Developm... | |
Python_pandas_functions/Series_214_1.txt | html)
* [ pandas.Series.rtruediv ](pandas.Series.rtruediv.html)
* [ pandas.Series.rfloordiv ](pandas.Series.rfloordiv.html)
* [ pandas.Series.rmod ](pandas.Series.rmod.html)
* [ pandas.Series.rpow ](pandas.Series.rpow.html)
* [ pandas.Series.combine ](pandas.Series.combine.html)
* [ pandas.Serie... | |
Python_pandas_functions/Series_130_2.txt | vel.html)
* [ pandas.Series.drop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
... | |
Python_pandas_functions/Series_316_5.txt | categories ](pandas.Series.cat.reorder_categories.html)
* [ pandas.Series.cat.add_categories ](pandas.Series.cat.add_categories.html)
* [ pandas.Series.cat.remove_categories ](pandas.Series.cat.remove_categories.html)
* [ pandas.Series.cat.remove_unused_categories ](pandas.Series.cat.remove_unused_categorie... | |
Python_pandas_functions/Series_269_2.txt | rop_duplicates ](pandas.Series.drop_duplicates.html)
* [ pandas.Series.duplicated ](pandas.Series.duplicated.html)
* [ pandas.Series.equals ](pandas.Series.equals.html)
* [ pandas.Series.first ](pandas.Series.first.html)
* [ pandas.Series.head ](pandas.Series.head.html)
* [ pandas.Series.idxmax ](pa... | |
Python_pandas_functions/DataFrame_94_2.txt | l)
* [ pandas.DataFrame.nunique ](pandas.DataFrame.nunique.html)
* [ pandas.DataFrame.value_counts ](pandas.DataFrame.value_counts.html)
* [ pandas.DataFrame.add_prefix ](pandas.DataFrame.add_prefix.html)
* [ pandas.DataFrame.add_suffix ](pandas.DataFrame.add_suffix.html)
* [ pandas.DataFrame.align ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.