id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_pandas_functions/Index_Objects_59_2.txt | andas.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)
* [ pandas.... | |
Python_pandas_functions/GroupBy_25_1.txt | pBy.corrwith
* [ 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.cumcount ](pandas.core.groupby.DataFrameGroupBy.cumcount.html... | |
Python_pandas_functions/Series_173_5.txt | * [ pandas.Series.cat.reorder_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.... | |
Python_pandas_functions/Index_Objects_195_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_150_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_32_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_32_4.txt | upby.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 re... | |
Python_pandas_functions/GroupBy_27_4.txt | pd.DataFrame(data, columns=["a", "b", "c"],
... index=["tiger", "leopard", "cheetah", "lion"])
>>> df
a b c
tiger 1 8 2
leopard 1 2 5
cheetah 2 5 8
lion 2 6 9
>>> df.groupby("a").max()
b c
a
1 8 5
2 6 9
[... | |
Python_pandas_functions/Series_277_3.txt | ](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.year.... | |
Python_pandas_functions/Index_Objects_23_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)
* [ pand... | |
Python_pandas_functions/Series_239_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_199_6.txt | Bear
2 Cow
dtype: object
>>> s.nbytes
24
For Index:
>>> idx = pd.Index([1, 2, 3])
>>> idx
Index([1, 2, 3], dtype='int64')
>>> idx.nbytes
24
[ __ previous pandas.Series.shape ](pandas.Series.shape.html "previous
page") [ next pandas.Series.ndim __ ](pa... | |
Python_pandas_functions/Series_58_6.txt |
**pat** str
Character sequence.
**case** bool, default True
If True, case sensitive.
**flags** int, default 0 (no flags)
Regex module flags, e.g. re.IGNORECASE.
**na** scalar, optional
Fill value for missing values. The default depends on dtype of the array. For
object-dtype, ` numpy.nan... | |
Python_pandas_functions/DataFrame_220_2.txt | ue ](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/Index_Objects_167_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_212_3.txt | out.zipâ containing âout.csvâ
>>> df.to_csv(index=False)
'name,mask,weapon\nRaphael,red,sai\nDonatello,purple,bo staff\n'
>>> compression_opts = dict(method='zip',
... archive_name='out.csv')
>>> df.to_csv('out.zip', index=False,
... compressi... | |
Python_pandas_functions/Series_12_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_25_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/Series_187_5.txt | er_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_catego... | |
Python_pandas_functions/Series_55_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_256_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_97_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_74_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/Index_Objects_63_5.txt | x.from_fields ](pandas.PeriodIndex.from_fields.html)
* [ pandas.PeriodIndex.from_ordinals ](pandas.PeriodIndex.from_ordinals.html)
* [ Date offsets ](../offset_frequency.html)
* [ Window ](../window.html)
* [ GroupBy ](../groupby.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ ... | |
Python_pandas_functions/GroupBy_59_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_13_4.txt | pd.DataFrame(
... {"a": ["red"] * 2 + ["blue"] * 2 + ["black"] * 2, "b": range(6)}
... )
>>> df
a b
0 red 0
1 red 1
2 blue 2
3 blue 3
4 black 4
5 black 5
Select one row at random for each distinct value in column a. The
random_state argument c... | |
Python_pandas_functions/Series_211_4.txt | das.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.deco... | |
Python_pandas_functions/Series_229_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.st... | |
Python_pandas_functions/DataFrame_95_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_158_5.txt | lds ](pandas.PeriodIndex.from_fields.html)
* [ pandas.PeriodIndex.from_ordinals ](pandas.PeriodIndex.from_ordinals.html)
* [ Date offsets ](../offset_frequency.html)
* [ Window ](../window.html)
* [ GroupBy ](../groupby.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ]... | |
Python_pandas_functions/GroupBy_95_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_115_6.txt |
[ ` Series.struct.field `
](pandas.Series.struct.field.html#pandas.Series.struct.field
"pandas.Series.struct.field")
Return a single child field as a Series.
Examples
>>> import pyarrow as pa
>>> s = pd.Series(
... [
... {"version": 1, "project": "pandas"},
... ... | |
Python_pandas_functions/GroupBy_93_2.txt | ml)
* [ 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/GroupBy_61_4.txt | .ngroup.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.
Built with the [ PyData Sphinx Theme ](https://pydata-sphinx-
theme.readthedocs.io/en/stable/index.html) 0.14.4.
| |
Python_pandas_functions/Series_132_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.... | |
Python_pandas_functions/Series_171_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_167_4.txt | eries.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.decode ](... | |
Python_pandas_functions/Series_127_5.txt | * [ pandas.Series.cat.reorder_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_unused_categories ](pandas.Series.cat.remove_unused_categories.html)
... | |
Python_pandas_functions/Series_304_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_114_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_108_6.txt | f such that, if the corresponding
elements in value were inserted before the indices, the order of self
would be preserved.
Note
The Series _must_ be monotonically sorted, otherwise wrong locations will
likely be returned. Pandas does _not_ check this for you.
Parameters :
**value** array-like or scalar
... | |
Python_pandas_functions/DataFrame_25_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/Series_338_6.txt | s :
Value that is popped from series.
Examples
>>> ser = pd.Series([1, 2, 3])
>>> ser.pop(0)
1
>>> ser
1 2
2 3
dtype: int64
[ __ previous pandas.Series.keys ](pandas.Series.keys.html "previous page")
[ next pandas.Series.... | |
Python_pandas_functions/DataFrame_75_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/DataFrame_79_5.txt | pret to_replace and/or value as regular expressions.
Alternatively, this could be a regular expression or a list, dict, or array of
regular expressions in which case to_replace must be ` None ` .
**method** {âpadâ, âffillâ, âbfillâ}
The method to use when for replacement, when to_replace is... | |
Python_pandas_functions/Index_Objects_233_5.txt | Index.is_unique `
[ __ Show Source
](../../_sources/reference/api/pandas.Index.is_unique.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.
Built with the [ PyData Sphinx Theme ](htt... | |
Python_pandas_functions/DataFrame_193_5.txt | o a DataFrame of different shape.
>>> other = pd.DataFrame({'revenue': [300, 250, 100, 150]},
... index=['A', 'B', 'C', 'D'])
>>> other
revenue
A 300
B 250
C 100
D 150
>>> df.gt(other)
cost revenue
A ... | |
Python_pandas_functions/Index_Objects_62_4.txt | imedeltaIndex.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.... | |
Python_pandas_functions/Index_Objects_242_2.txt | IntervalIndex.html)
* [ 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.IntervalInd... | |
Python_pandas_functions/Index_Objects_232_4.txt | * [ pandas.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.me... | |
Python_pandas_functions/Index_Objects_94_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_80_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/Series_152_6.txt | differences.
Parameters :
**other** Series
Object to compare with.
**align_axis** {0 or âindexâ, 1 or âcolumnsâ}, default 1
Determine which axis to align the comparison on.
* 0, or âindexâ Resulting differences are stacked vertically
with rows drawn alternately from self ... | |
Python_pandas_functions/Series_256_5.txt | rder_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.html)
* [ pandas.Series.cat.... | |
Python_pandas_functions/DataFrame_183_3.txt | join ](pandas.DataFrame.join.html)
* [ pandas.DataFrame.merge ](pandas.DataFrame.merge.html)
* [ pandas.DataFrame.update ](pandas.DataFrame.update.html)
* [ pandas.DataFrame.asfreq ](pandas.DataFrame.asfreq.html)
* [ pandas.DataFrame.asof ](pandas.DataFrame.asof.html)
* [ pandas.DataFrame.shift ](pa... | |
Python_pandas_functions/Series_32_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_293_6.txt | n where the substring
is fully contained between [start:end]. This is the same as ` str.find `
except instead of returning -1, it raises a ValueError when the substring is
not found. Equivalent to standard ` str.index ` .
Parameters :
**sub** str
Substring being searched.
**start** int
Left ed... | |
Python_pandas_functions/Series_99_4.txt | [ pandas.Series.str.casefold ](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.ht... | |
Python_pandas_functions/Series_50_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_181_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/Series_109_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_31_1.txt | .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.cumcount ](pandas.core.groupby.DataFrameGroupBy.cumcount.ht... | |
Python_pandas_functions/Series_337_6.txt |
](https://en.wikipedia.org/wiki/Kernel_density_estimation) (KDE) is a non-
parametric way to estimate the probability density function (PDF) of a random
variable. This function uses Gaussian kernels and includes automatic bandwidth
determination.
Parameters :
**bw_method** str, scalar or callable, optional
... | |
Python_pandas_functions/DataFrame_175_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_109_5.txt | ources/reference/api/pandas.Index.delete.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.
Built with the [ PyData Sphinx Theme ](https://pydata-sphinx-
theme.readthedocs.io/en/stable/... | |
Python_pandas_functions/Index_Objects_61_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_147_4.txt | s.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.decode... | |
Python_pandas_functions/Series_96_6.txt | ult frequency of PeriodIndex
Desired frequency.
**how** {âsâ, âeâ, âstartâ, âendâ}
Convention for converting period to timestamp; start of period vs. end.
**copy** bool, default True
Whether or not to return a copy.
Note
The copy keyword will change behavior in pandas 3.0. [ C... | |
Python_pandas_functions/Series_207_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_86_2.txt | ies.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.idxmax... | |
Python_pandas_functions/Series_160_6.txt | ags applying to this object.
Notes
Many operations that create new datasets will copy ` attrs ` . Copies are
always deep so that changing ` attrs ` will only affect the present dataset.
` pandas.concat ` copies ` attrs ` only if all input datasets have the same
` attrs ` .
Examples
For Series:
>... | |
Python_pandas_functions/DataFrame_221_4.txt | 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 referen... | |
Python_pandas_functions/DataFrame_199_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/Series_128_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/Index_Objects_39_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)
* [ pand... | |
Python_pandas_functions/Index_Objects_41_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_161_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_199_3.txt | parse ](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... | |
Python_pandas_functions/Index_Objects_172_5.txt | riodIndex.from_ordinals ](pandas.PeriodIndex.from_ordinals.html)
* [ Date offsets ](../offset_frequency.html)
* [ Window ](../window.html)
* [ GroupBy ](../groupby.html)
* [ Resampling ](../resampling.html)
* [ Style ](../style.html)
* [ Plotting ](../plotting.html)
* [ Options and settings ](../options.h... | |
Python_pandas_functions/Series_62_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_22_3.txt | 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 ](pandas.c... | |
Python_pandas_functions/GroupBy_43_3.txt | .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 ](pandas.... | |
Python_pandas_functions/Series_123_1.txt | html)
* pandas.Series.rtruediv
* [ 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/Index_Objects_1_5.txt | n/stable/index.html) 0.14.4.
| |
Python_pandas_functions/Index_Objects_116_3.txt | tml)
* [ 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.DatetimeIndex.time.html)
* [ pandas.Da... | |
Python_pandas_functions/Series_193_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_154_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_10_0.txt | # pandas.bdate_range #
pandas. bdate_range ( _ start = None _ , _ end = None _ , _ periods
= None _ , _ freq = 'B' _ , _ tz = None _ , _ normalize = True _ ,
_ name = None _ , _ weekmask = None _ , _ holidays = None _ , _
inclusive = 'both' _ , _ ** kwargs _ ) [ [source]
](https://... | |
Python_pandas_functions/DataFrame_26_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_224_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_78_3.txt | parse ](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... | |
Python_pandas_functions/Index_Objects_57_1.txt | ml)
* [ 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_names.html)
* [ pandas... | |
Python_pandas_functions/DataFrame_41_6.txt | ('viper', 'mark ii'), ('viper', 'mark iii')
... ]
>>> index = pd.MultiIndex.from_tuples(tuples)
>>> values = [[12, 2], [0, 4], [10, 20],
... [1, 4], [7, 1], [16, 36]]
>>> df = pd.DataFrame(values, columns=['max_speed', 'shield'], index=index)
>>> df
max_spee... | |
Python_pandas_functions/GroupBy_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/DataFrame_26_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/Index_Objects_114_4.txt | * [ pandas.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.... | |
Python_pandas_functions/Index_Objects_88_2.txt | IntervalIndex.html)
* [ 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.IntervalInd... | |
Python_pandas_functions/Series_16_5.txt | eorder_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_ca... | |
Python_pandas_functions/Series_340_6.txt | ike object. All items must be unique and
the number of items in the new categories must be the same as the number of
items in the old categories.
Raises :
ValueError
If the new categories do not validate as categories or if the number of new
categories is unequal the number of old categories
See also
... | |
Python_pandas_functions/DataFrame_53_3.txt | aFrame.join ](pandas.DataFrame.join.html)
* [ pandas.DataFrame.merge ](pandas.DataFrame.merge.html)
* [ pandas.DataFrame.update ](pandas.DataFrame.update.html)
* [ pandas.DataFrame.asfreq ](pandas.DataFrame.asfreq.html)
* [ pandas.DataFrame.asof ](pandas.DataFrame.asof.html)
* [ pandas.DataFrame.shi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.