id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_pandas_functions/Index_Objects_34_3.txt | 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.DatetimeIndex.time.html)
* [ p... | |
Python_pandas_functions/DataFrame_58_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/DataFrame_166_3.txt | pare.html)
* [ pandas.DataFrame.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)... | |
Python_pandas_functions/Index_Objects_17_5.txt | slice_locs.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/Index_Objects_100_6.txt | ber of levels in this MultiIndex.
[ ` levshape ` ](pandas.MultiIndex.levshape.html#pandas.MultiIndex.levshape "pandas.MultiIndex.levshape") | A tuple with the length of each level.
[ ` dtypes ` ](pandas.MultiIndex.dtypes.html#pandas.MultiIndex.dtypes "pandas.MultiIndex.dtypes") | Return the dtypes as a Series... | |
Python_pandas_functions/Series_20_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/Series_122_5.txt | tegories ](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/Series_175_7.txt | __ ](pandas.Series.asof.html "next page")
__ On this page
* ` Series.asfreq() `
[ __ Show Source ](../../_sources/reference/api/pandas.Series.asfreq.rst.txt)
© 2024, pandas via [ NumFOCUS, Inc. ](https://numfocus.org) Hosted by [
OVHcloud ](https://www.ovhcloud.com) .
Created using [ Sphinx ](https://www.sphin... | |
Python_pandas_functions/Series_142_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_135_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_7_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_209_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/DataFrame_210_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_179_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_175_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_210_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.mean ... | |
Python_pandas_functions/GroupBy_53_3.txt | ml)
* [ pandas.core.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.groupb... | |
Python_pandas_functions/GroupBy_23_5.txt | in this example it is equivalent to have base=2 :
>>> ts.groupby(pd.Grouper(freq='17min', offset='2min')).sum()
2000-10-01 23:16:00 0
2000-10-01 23:33:00 9
2000-10-01 23:50:00 36
2000-10-02 00:07:00 39
2000-10-02 00:24:00 24
Freq: 17min, dtype: int64
[ __ ... | |
Python_pandas_functions/Series_222_2.txt | eries.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.idxm... | |
Python_pandas_functions/Series_161_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_98_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_195_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_176_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_12_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_148_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_116_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_274_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/GroupBy_78_4.txt | Returns :
DataFrame
See also
` DataFrame.groupby.apply `
Apply function ` func ` group-wise and combine the results together.
` DataFrame.groupby.aggregate `
Aggregate using one or more operations over the specified axis.
` DataFrame.transform `
Call ` func ` on self producin... | |
Python_pandas_functions/General_Function_24_2.txt | 'B', 'C'],
... "baz": [1, 2, 3, 4]})
>>> df
foo bar baz
0 one A 1
1 one A 2
2 two B 3
3 two C 4
Notice that the first two rows are the same for our index and columns
arguments.
>>> df.pivot(index='foo', columns='bar', val... | |
Python_pandas_functions/General_Function_1_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_0_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_19_3.txt | e.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/DataFrame_188_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_60_2.txt | 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 ](p... | |
Python_pandas_functions/Index_Objects_102_4.txt | imedeltaIndex.to_series.html)
* [ 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... | |
Python_pandas_functions/DataFrame_72_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_120_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_248_6.txt | indent =
None _ , _ storage_options = None _ , _ mode = 'w' _ ) [ [source]
](https://github.com/pandas-
dev/pandas/blob/v2.2.2/pandas/core/generic.py#L2428-L2717) #
Convert the object to a JSON string.
Note NaNâs and None will be converted to null and datetime objects will be
converted to UNIX timest... | |
Python_pandas_functions/General_Function_0_1.txt | identifiers
set.
This function is useful to massage a DataFrame into a format where one or more
columns are identifier variables ( id_vars ), while all other columns,
considered measured variables ( value_vars ), are âunpivotedâ to the row
axis, leaving just two non-identifier columns, âvariableâ and âva... | |
Python_pandas_functions/Series_44_6.txt | datetime_series
0 2000-01-01 00:00:00.000000
1 2000-01-01 00:00:00.000001
2 2000-01-01 00:00:00.000002
dtype: datetime64[ns]
>>> datetime_series.dt.microsecond
0 0
1 1
2 2
dtype: int32
[ __ previous pandas.Series.dt.second ](pandas.Series.dt.second.ht... | |
Python_pandas_functions/DataFrame_150_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/GroupBy_85_3.txt | upby.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 ](pan... | |
Python_pandas_functions/Index_Objects_21_5.txt | rom_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.html)
* [ Extensions ](../extensions.html)
... | |
Python_pandas_functions/Series_285_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_64_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_57_4.txt | s.html)
* [ 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.Timed... | |
Python_pandas_functions/DataFrame_206_2.txt | ique ](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/Series_127_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_117_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_263_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_201_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_64_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/DataFrame_12_4.txt | )
* [ 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 reference ]... | |
Python_pandas_functions/Index_Objects_231_5.txt | sion.py#L58-L59) #
Return a boolean whether the IntervalArray is non-overlapping and monotonic.
Non-overlapping means (no Intervals share points), and monotonic means either
monotonic increasing or monotonic decreasing.
Examples
For arrays:
>>> interv_arr = pd.arrays.IntervalArray([pd.Interval(... | |
Python_pandas_functions/Series_5_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_160_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_177_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_160_5.txt | 'small'],
... data=[[45, 30], [200, 100], [1.5, 1], [30, 20],
... [250, 150], [1.5, 0.8], [320, 250],
... [1, 0.8], [0.3, 0.2]])
>>> df
big small
llama speed 45.0 30.0
weight 200.0 100.0
... | |
Python_pandas_functions/Index_Objects_25_2.txt | s.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.Inte... | |
Python_pandas_functions/DataFrame_198_5.txt | sfreq(freq='30s', fill_value=9.0)
s
2000-01-01 00:00:00 0.0
2000-01-01 00:00:30 9.0
2000-01-01 00:01:00 NaN
2000-01-01 00:01:30 9.0
2000-01-01 00:02:00 2.0
2000-01-01 00:02:30 9.0
2000-01-01 00:03:00 3.0
Upsample again, providing a ` meth... | |
Python_pandas_functions/GroupBy_28_3.txt | upby.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 ](pan... | |
Python_pandas_functions/Series_182_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_82_2.txt | ](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_78_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_202_5.txt | here ` .
See also
[ ` Index.asof ` ](pandas.Index.asof.html#pandas.Index.asof
"pandas.Index.asof")
Return the label from the index, or, if not present, the previous one.
Examples
>>> idx = pd.date_range('2023-06-01', periods=3, freq='D')
>>> where = pd.DatetimeIndex(['2023-05-30 00:12:00'... | |
Python_pandas_functions/GroupBy_38_3.txt | oupby.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 ](pa... | |
Python_pandas_functions/Series_30_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_201_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_276_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_210_6.txt | of resulting string; additional characters will be filled with
character defined in fillchar .
**side** {âleftâ, ârightâ, âbothâ}, default âleftâ
Side from which to fill resulting string.
**fillchar** str, default â â
Additional character for filling, default is whitespace.
Return... | |
Python_pandas_functions/GroupBy_102_4.txt | a Sphinx Theme ](https://pydata-sphinx-
theme.readthedocs.io/en/stable/index.html) 0.14.4.
| |
Python_pandas_functions/Series_86_1.txt | 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.Series.combine_first ](pandas.Ser... | |
Python_pandas_functions/Series_121_6.txt | 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 float value, ... | |
Python_pandas_functions/Index_Objects_168_5.txt | pandas.Index ](pandas.Index.html "previous page") [ next
pandas.Index.is_monotonic_increasing __
](pandas.Index.is_monotonic_increasing.html "next page")
__ On this page
* ` Index.values `
[ __ Show Source ](../../_sources/reference/api/pandas.Index.values.rst.txt)
© 2024, pandas via [ NumFOCUS, Inc. ](https:... | |
Python_pandas_functions/Index_Objects_200_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_194_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/DataFrame_41_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_102_1.txt | pBy.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... | |
Python_pandas_functions/Series_110_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_165_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_58_3.txt | rame.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... | |
Python_pandas_functions/Index_Objects_100_5.txt | ex.to_timestamp.html)
* [ pandas.PeriodIndex.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 ](../resam... | |
Python_pandas_functions/GroupBy_39_2.txt | pBy.tail ](pandas.core.groupby.DataFrameGroupBy.tail.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... | |
Python_pandas_functions/Index_Objects_14_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_170_4.txt | ld ](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.... | |
Python_pandas_functions/Index_Objects_231_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_32_0.txt | # pandas.io.stata.StataWriter.write_file #
StataWriter. write_file ( ) [ [source] ](https://github.com/pandas-
dev/pandas/blob/v2.2.1/pandas/io/stata.py#L2694-L2769) #
Export DataFrame object to Stata dta format.
Examples
>>> df = pd.DataFrame({"fully_labelled": [1, 2, 3, 3, 1],
... ... | |
Python_pandas_functions/Series_82_2.txt | s.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_322_3.txt | e.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/DataFrame_154_2.txt | ique ](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/GroupBy_37_3.txt | roupby.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 ](p... | |
Python_pandas_functions/Series_36_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/DataFrame_187_2.txt | nique ](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/Series_211_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/GroupBy_84_2.txt | pBy.tail ](pandas.core.groupby.DataFrameGroupBy.tail.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... | |
Python_pandas_functions/Index_Objects_3_4.txt | andas.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 ](... | |
Python_pandas_functions/Index_Objects_9_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_57_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 refere... | |
Python_pandas_functions/DataFrame_165_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_179_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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.