mteb/BrightProStackoverflowRetrieval huggingface dataset:
[ BinaryPrimitives.ReverseEndianness.cs ](https://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/BinaryPrimitives.ReverseEndianness.cs#L31C63-L31C68)
Environment variables with the prefix **PCP_** are used to
           parameterize the file and directory names used by PCP.  On each
           installation, the file _/etc/pcp.conf_ contains the local values
           for these variables.  The **$PCP_CONF** variable may be used to
           specify an alternative configuration file, as described in
           [pcp.conf(5)](../man5/pcp.conf.5.html).
    
           **pmlogconf** overrides any **$PCP_DERIVED_CONFIG** environment variable
           to an empty string, for performance reasons.
    
           **pmlogconf** honours the **$PMCD_WAIT_TIMEOUT** environment variable
           when probing and creating new **pmlogger** configuration files.  It
           uses a default timeout value of 10 seconds for this, in the
           absence of an environment setting.
    

##  SEE ALSO  top

    
    
           [pmcd(1)](../man1/pmcd.1.html), [pmlogger(1)](../man1/pmlogger.1.html), [pcp.conf(5)](../man5/pcp.conf.5.html) and [pcp.env(5)](../man5/pcp.env.5.html).
    

##  COLOPHON  top

    
    
           This page is part of the _PCP_ (Performance Co-Pilot) project.
           Information about the project can be found at 
           â¨<http://www.pcp.io/>â©.  If you have a bug report for this manual
           page, send it to pcp@groups.io.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/performancecopilot/pcp.git>â© on 2023-12-22.
           (At that time, the date of the most recent commit that was found
           in the repository was 2023-12-16.)  If you discover any rendering
           problems in this HTML version of the page, or you believe there
           is a better or more up-to-date source for the page, or you have
           corrections or improvements to the information in this COLOPHON
           (which is _not_ part of the original manual page), send a mail to
           man-pages@man7.org
    
    Performance Co-Pilot               PCP                      _PMLOGCONF_(1)
    

* * *

Pages that refer to this page: [ pcp(1) ](../man1/pcp.1.html) , [ pcpcompat(1)
](../man1/pcpcompat.1.html) , [ pmdasockets(1) ](../man1/pmdasockets.1.html) ,
[ pmlogctl(1) ](../man1/pmlogctl.1.html) , [ pmlogger_check(1)
](../man1/pmlogger_check.1.html) , [ pmlogger_daily(1)
](../man1/pmlogger_daily.1.html) , [ pmrepconf(1) ](../man1/pmrepconf.1.html)

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcounter.com/7422636/0/9b6714ff/1/)
](https://statcounter.com/ "Web Analytics

Made Easy - StatCounter")
[ BinaryPrimitives.ReverseEndianness.cs ](https://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/BinaryPrimitives.ReverseEndianness.cs#L352C13-L352C125)
[ BinaryPrimitives.ReverseEndianness.cs ](https://github.com/dotnet/runtime/blob/1d1bf92fcf43aa6981804dc53c5174445069c9e4/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/BinaryPrimitives.ReverseEndianness.cs#L178C63-L178C103)
[ BinaryPrimitives.ReverseEndianness.cs ](https://github.com/dotnet/runtime/blob/5535e31a712343a63f5d7d796cd874e563e5ac14/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/BinaryPrimitives.ReverseEndianness.cs#L196C13-L196C148)
[ BinaryPrimitives.ReverseEndianness.cs ](https://github.com/dotnet/runtime/blob/1d1bf92fcf43aa6981804dc53c5174445069c9e4/src/libraries/System.Private.CoreLib/src/System/Buffers/Binary/BinaryPrimitives.ReverseEndianness.cs#L206C13-L206C83)
* [ Simulink Real-Time ](../index.html?s_tid=CRUX_lftnav)
* [ Model Preparation for Real-Time Execution ](../model-preparation-for-real-time-execution-1.html?s_tid=CRUX_lftnav)
* [ Communication Protocols ](../communication-protocols.html?s_tid=CRUX_lftnav)
* [ Real-Time UDP ](../real-time-udp.html?s_tid=CRUX_lftnav)
* [ Simulink Real-Time ](../index.html?s_tid=CRUX_lftnav)
* [ Model Preparation for Real-Time Execution ](../model-preparation-for-real-time-execution-1.html?s_tid=CRUX_lftnav)
* [ Communication Protocols ](../communication-protocols.html?s_tid=CRUX_lftnav)
* [ RS-232 ](../rs-232.html?s_tid=CRUX_lftnav)
* ####  countObservers 
            
                        public int countObservers()

Returns the number of observers of this ` Observable ` object.

Returns:

     the number of observers of this object. 

  * [ Overview ](../../overview-summary.html)
  * [ Package ](package-summary.html)
  * Class 
  * [ Use ](class-use/Observable.html)
  * [ Tree ](package-tree.html)
  * [ Deprecated ](../../deprecated-list.html)
  * [ Index ](../../index-files/index-1.html)
  * [ Help ](../../help-doc.html)

_**Java™ Platform  
Standard Ed. 7 ** _

  * [ Prev Class  ](../../java/util/Objects.html "class in java.util")
  * [ Next Class  ](../../java/util/Observer.html "interface in java.util")

  * [ Frames ](../../index.html?java/util/Observable.html)
  * [ No Frames ](Observable.html)

  * [ All Classes ](../../allclasses-noframe.html)

  * Summary: 
  * Nested | 
  * Field | 
  * Constr  | 
  * Method 

  * Detail: 
  * Field | 
  * Constr  | 
  * Method 

[ Submit a bug or feature ](http://bugreport.sun.com/bugreport/)  
For further API reference and developer documentation, see [ Java SE
Documentation ](http://docs.oracle.com/javase/7/docs/index.html) . That
documentation contains more detailed, developer-targeted descriptions, with
conceptual overviews, definitions of terms, workarounds, and working code
examples.  
[ Copyright ](../../../legal/cpyr.html) © 1993, 2020, Oracle and/or its
affiliates. All rights reserved. Use is subject to [ license terms
](http://download.oracle.com/otndocs/jcp/java_se-7-mrel-spec/license.html) .
Also see the [ documentation redistribution policy
](http://www.oracle.com/technetwork/java/redist-137594.html) .

Scripting on this page tracks web page traffic, but does not change the
content in any way.
* ####  requireNonNull 
            
                        public static <T> T requireNonNull(T obj,
                               [String](../../java/lang/String.html "class in java.lang") message)

Checks that the specified object reference is not ` null ` and throws a
customized [ ` NullPointerException `
](../../java/lang/NullPointerException.html "class in java.lang") if it is.
This method is designed primarily for doing parameter validation in methods
and constructors with multiple parameters, as demonstrated below:

> >              public Foo(Bar bar, Baz baz) {
>                  this.bar = Objects.requireNonNull(bar, "bar must not be
> null");
>                  this.baz = Objects.requireNonNull(baz, "baz must not be
> null");
>              }
>  

Type Parameters:

     ` T ` \- the type of the reference 
Parameters:

     ` obj ` \- the object reference to check for nullity 
     ` message ` \- detail message to be used in the event that a ` NullPointerException ` is thrown 
Returns:

     ` obj ` if not ` null `
Throws:

     ` [ NullPointerException ](../../java/lang/NullPointerException.html "class in java.lang") ` \- if ` obj ` is ` null `

  * [ Overview ](../../overview-summary.html)
  * [ Package ](package-summary.html)
  * Class 
  * [ Use ](class-use/Objects.html)
  * [ Tree ](package-tree.html)
  * [ Deprecated ](../../deprecated-list.html)
  * [ Index ](../../index-files/index-1.html)
  * [ Help ](../../help-doc.html)

_**Java™ Platform  
Standard Ed. 7 ** _

  * [ Prev Class  ](../../java/util/NoSuchElementException.html "class in java.util")
  * [ Next Class  ](../../java/util/Observable.html "class in java.util")

  * [ Frames ](../../index.html?java/util/Objects.html)
  * [ No Frames ](Objects.html)

  * [ All Classes ](../../allclasses-noframe.html)

  * Summary: 
  * Nested | 
  * Field | 
  * Constr | 
  * Method 

  * Detail: 
  * Field | 
  * Constr | 
  * Method 

[ Submit a bug or feature ](http://bugreport.sun.com/bugreport/)  
For further API reference and developer documentation, see [ Java SE
Documentation ](http://docs.oracle.com/javase/7/docs/index.html) . That
documentation contains more detailed, developer-targeted descriptions, with
conceptual overviews, definitions of terms, workarounds, and working code
examples.  
[ Copyright ](../../../legal/cpyr.html) © 1993, 2020, Oracle and/or its
affiliates. All rights reserved. Use is subject to [ license terms
](http://download.oracle.com/otndocs/jcp/java_se-7-mrel-spec/license.html) .
Also see the [ documentation redistribution policy
](http://www.oracle.com/technetwork/java/redist-137594.html) .

Scripting on this page tracks web page traffic, but does not change the
content in any way.
er from the set of observers of this object.   
` void ` |  ` **[ deleteObservers ](../../java/util/Observable.html#deleteObservers\(\)) ** () ` Clears the observer list so that this object no longer has any observers.   
` boolean ` |  ` **[ hasChanged ](../../java/util/Observable.html#hasChanged\(\)) ** () ` Tests if this object has changed.   
` void ` |  ` **[ notifyObservers ](../../java/util/Observable.html#notifyObservers\(\)) ** () ` If this object has changed, as indicated by the ` hasChanged ` method, then notify all of its observers and then call the ` clearChanged ` method to indicate that this object has no longer changed.   
` void ` |  ` **[ notifyObservers ](../../java/util/Observable.html#notifyObservers\(java.lang.Object\)) ** ( [ Object ](../../java/lang/Object.html "class in java.lang") arg) ` If this object has changed, as indicated by the ` hasChanged ` method, then notify all of its observers and then call the ` clearChanged ` method to indicate that this object has no longer changed.   
` protected void ` |  ` **[ setChanged ](../../java/util/Observable.html#setChanged\(\)) ** () ` Marks this ` Observable ` object as having been changed; the ` hasChanged ` method will now return ` true ` .   
      * ###  Methods inherited from class java.lang. [ Object ](../../java/lang/Object.html "class in java.lang")

` [ clone ](../../java/lang/Object.html#clone\(\)) , [ equals
](../../java/lang/Object.html#equals\(java.lang.Object\)) , [ finalize
](../../java/lang/Object.html#finalize\(\)) , [ getClass
](../../java/lang/Object.html#getClass\(\)) , [ hashCode
](../../java/lang/Object.html#hashCode\(\)) , [ notify
](../../java/lang/Object.html#notify\(\)) , [ notifyAll
](../../java/lang/Object.html#notifyAll\(\)) , [ toString
](../../java/lang/Object.html#toString\(\)) , [ wait
](../../java/lang/Object.html#wait\(\)) , [ wait
](../../java/lang/Object.html#wait\(long\)) , [ wait
](../../java/lang/Object.html#wait\(long,%20int\)) `

  *     * ###  Constructor Detail
* [ Twitter  ](https://twitter.com/donnywals "@donnywals on Twitter")
* [ YouTube  ](https://www.youtube.com/channel/UCCBE9yHihCjh0ga8IIDEBhw "Donny Wals on YouTube")
* [ Instagram  ](https://instagram.com/donnywalsdev "@donnywalsdev on Instagram")
* [ LinkedIn  ](https://www.linkedin.com/in/donny-wals-33660014/ "@donnywals on LinkedIn")
* [ RSS Feed  ](https://donnywals.com/feed "RSS feed")
* [ ![Data Structure](/images/Data-Structure.png) Data Structure ](/articles/category/data-structure)
* [ ![Networking](/images/Networking.png) Networking ](/articles/category/computer-network)
* [ ![RDBMS](/images/dbms.png) RDBMS ](/articles/category/rdbms)
* [ ![Operating System](/images/Operating-System.png) Operating System ](/articles/category/operating-system)
* [ ![Java](/images/java8.png) Java ](/articles/category/Java)
* [ ![MS Excel](/images/excel_icon.png) MS Excel ](/articles/category/ms-excel)
* [ ![iOS](/images/ios.png) iOS ](/articles/category/ios)
* [ ![HTML](/images/html.png) HTML ](/articles/category/HTML)
* [ ![CSS](/images/css.png) CSS ](/articles/category/CSS)
* [ ![Android](/images/Android.png) Android ](/articles/category/android)
* [ ![Python](/images/Python.png) Python ](/articles/category/python)
* [ ![C Programming](/images/C-programming.png) C Programming ](/articles/category/c)
* [ ![C++](/images/C-PLUS.png) C++ ](/articles/category/cplusplus)
* [ ![C#](/images/C-hash.png) C# ](/articles/category/csharp)
* [ ![MongoDB](/images/mongodb.png) MongoDB ](/articles/category/mongodb)
* [ ![MySQL](/images/MySQL.png) MySQL ](/articles/category/mysql)
* [ ![Javascript](/images/Javascript.png) Javascript ](/articles/category/Javascript)
* [ ![PHP](/images/php.png) PHP ](/articles/category/php)
* [ ![Physics](/images/physics-tutorials_icon.svg) Physics ](/articles/category/physics)
* [ ![Chemistry](/images/chemistry-tutorials_icon.svg) Chemistry ](/articles/category/chemistry)
* [ ![Biology](/images/biology-tutorials_icon.svg) Biology ](/articles/category/biology)
* [ ![Mathematics](/images/mathematics-tutorials_icon.svg) Mathematics ](/articles/category/mathematics)
* [ ![English](/images/english-tutorials_icon.svg) English ](/articles/category/english)
* [ ![Economics](/images/economics-tutorials_icon.svg) Economics ](/articles/category/economics)
* [ ![Psychology](/images/psychology-tutorials_icon.svg) Psychology ](/articles/category/psychology)
* [ ![Social Studies](/images/social-studies-tutorials_icon.svg) Social Studies ](/articles/category/social-studies)
* [ ![Fashion Studies](/images/fashion-studies-tutorials_icon.svg) Fashion Studies ](/articles/category/fashion-studies)
* [ ![Legal Studies](/images/legal-studies-tutorials_icon.svg) Legal Studies ](/articles/category/legal-studies)
* [ __ Java ](/articles/category/java8)
* [ __ JSP ](/articles/category/jsp)
* [ __ iOS ](/articles/category/ios)
* [ __ HTML ](/articles/category/html)
* [ __ Android ](/articles/category/android)
* [ __ Python ](/articles/category/python)
* [ __ C Programming ](/articles/category/c)
* [ __ C++ Programming ](/articles/category/cplusplus)
* [ __ C# ](/articles/category/csharp)
* [ __ PHP ](/articles/category/php)
* [ __ CSS ](/articles/category/css)
* [ __ Javascript ](/articles/category/javascript)
* [ __ jQuery ](/articles/category/jquery)
* [ __ SAP ](/articles/category/sap)
* [ __ SAP HANA ](/articles/category/sap-hana)
* [ __ Data Structure ](/articles/category/data-structure)
* [ __ RDBMS ](/articles/category/rdbms)
* [ __ MySQL ](/articles/category/mysql)
* [ __ Mathematics ](/articles/category/mathematics)
* [ __ 8085 Microprocessor ](/articles/category/8085)
* [ __ Operating System ](/articles/category/operating-system)
* [ __ Digital Electronics ](/articles/category/digital-electronics)
* [ __ Analysis of Algorithms ](/articles/category/analysis-of-algorithms)
* [ __ Mobile Development ](/articles/category/mobile-development)
* [ __ Front End ](/articles/category/front-end-technology)
* [ __ Web Development ](/articles/category/web-development)
* [ __ Selenium ](/articles/category/selenium)
* [ __ MongoDB ](/articles/category/mongodb)
* [ __ Computer Network ](/articles/category/computer-network)
* [ __ General Topics ](/articles/category/general-topics)
* [ How to remove an item from JavaScript array by value? ](https://www.tutorialspoint.com/How-to-remove-an-item-from-JavaScript-array-by-value)
* [ Swift Program to Remove Duplicate Elements From an Array ](https://www.tutorialspoint.com/swift-program-to-remove-duplicate-elements-from-an-array)
* [ Swift Program to Remove All Occurrences of an Element in an Array ](https://www.tutorialspoint.com/swift-program-to-remove-all-occurrences-of-an-element-in-an-array)
* [ Swift: Pass an array by reference? ](https://www.tutorialspoint.com/swift-pass-an-array-by-reference)
* [ Sorting an array object by property having falsy value - JavaScript ](https://www.tutorialspoint.com/sorting-an-array-object-by-property-having-falsy-value-javascript)
* [ MongoDB query to remove empty objects in an object-array? ](https://www.tutorialspoint.com/mongodb-query-to-remove-empty-objects-in-an-object-array)
* [ Search by id and remove object from JSON array in JavaScript ](https://www.tutorialspoint.com/search-by-id-and-remove-object-from-json-array-in-javascript)
* [ Add an element to an array in Swift ](https://www.tutorialspoint.com/add-an-element-to-an-array-in-swift)
* [ How to Remove Extension from String in PHP ](https://www.tutorialspoint.com/how-to-remove-extension-from-string-in-php)
* [ How to Remove Extension from Filename in Excel? ](https://www.tutorialspoint.com/how-to-remove-extension-from-filename-in-excel)
* [ How to remove object from array in MongoDB? ](https://www.tutorialspoint.com/how-to-remove-object-from-array-in-mongodb)
* [ How to remove Specific Element from a Swift Array? ](https://www.tutorialspoint.com/how-to-remove-specific-element-from-a-swift-array)
* [ How to remove an array element by its index in MongoDB? ](https://www.tutorialspoint.com/how-to-remove-an-array-element-by-its-index-in-mongodb)
* [ Remove object from array in MongoDB? ](https://www.tutorialspoint.com/remove-object-from-array-in-mongodb)
* [ Increment value of an array element with array object in MongoDB ](https://www.tutorialspoint.com/increment-value-of-an-array-element-with-array-object-in-mongodb)
* [ Twitter  ](https://twitter.com/donnywals "@donnywals on Twitter")
* [ YouTube  ](https://www.youtube.com/channel/UCCBE9yHihCjh0ga8IIDEBhw "Donny Wals on YouTube")
* [ Instagram  ](https://instagram.com/donnywalsdev "@donnywalsdev on Instagram")
* [ LinkedIn  ](https://www.linkedin.com/in/donny-wals-33660014/ "Donny Wals on LinkedIn")
.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 ](../plotting.html)
  * [ Options and settings ](../options.html)
  * [ Extensions ](../extensions.html)
  * [ Testing ](../testing.html)
  * [ Missing values ](../missing_value.html)

  * [ __ ](../../index.html)
  * [ API reference ](../index.html)
  * __
  * [ pandas.MultiIndex ](pandas.MultiIndex.html)
  * pandas.Multi... 

#  pandas.MultiIndex.remove_unused_levels  #

MultiIndex.  remove_unused_levels  (  )  [ [source]
](https://github.com/pandas-
dev/pandas/blob/v2.2.2/pandas/core/indexes/multi.py#L2083-L2166) #

    

Create new MultiIndex from current that removes unused levels.

Unused level(s) means levels that are not expressed in the labels. The
resulting MultiIndex will have the same outward appearance, meaning the same
.values and ordering. It will also be .equals() to the original.

Returns  :

    

MultiIndex

    

Examples

    
    
    >>> mi = pd.MultiIndex.from_product([range(2), list('ab')])
    >>> mi
    MultiIndex([(0, 'a'),
                (0, 'b'),
                (1, 'a'),
                (1, 'b')],
               )
    
    
    
    >>> mi[2:]
    MultiIndex([(1, 'a'),
                (1, 'b')],
               )
    

The 0 from the first level is not represented and can be removed

    
    
    >>> mi2 = mi[2:].remove_unused_levels()
    >>> mi2.levels
    FrozenList([[1], ['a', 'b']])
    

[ __ previous  pandas.MultiIndex.reorder_levels
](pandas.MultiIndex.reorder_levels.html "previous page") [ next
pandas.MultiIndex.get_level_values  __
](pandas.MultiIndex.get_level_values.html "next page")

__ On this page

  * ` MultiIndex.remove_unused_levels()  `

[ __ Show Source
](../../_sources/reference/api/pandas.MultiIndex.remove_unused_levels.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.
ex.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.html)
  * [ Extensions ](../extensions.html)
  * [ Testing ](../testing.html)
  * [ Missing values ](../missing_value.html)

  * [ __ ](../../index.html)
  * [ API reference ](../index.html)
  * __
  * [ pandas.PeriodIndex ](pandas.PeriodIndex.html)
  * pandas.Perio... 

#  pandas.PeriodIndex.asfreq  #

PeriodIndex.  asfreq  (  _ freq  =  None  _ , _ how  =  'E'  _ )  [ [source]
](https://github.com/pandas-
dev/pandas/blob/v2.2.2/pandas/core/indexes/period.py#L201-L209) #

    

Convert the PeriodArray to the specified frequency  freq  .

Equivalent to applying [ ` pandas.Period.asfreq()  `
](pandas.Period.asfreq.html#pandas.Period.asfreq "pandas.Period.asfreq") with
the given arguments to each [ ` Period  ` ](pandas.Period.html#pandas.Period
"pandas.Period") in this PeriodArray.

Parameters  :

    

**freq** str

    

A frequency.

**how** str {âEâ, âSâ}, default âEâ

    

Whether the elements should be aligned to the end or start within pa period.

  * âEâ, âENDâ, or âFINISHâ for end, 

  * âSâ, âSTARTâ, or âBEGINâ for start. 

January 31st (âENDâ) vs. January 1st (âSTARTâ) for example.

Returns  :

    

PeriodArray

    

The transformed PeriodArray with the new frequency.

See also

` pandas.arrays.PeriodArray.asfreq  `

    

Convert each Period in a PeriodArray to the given frequency.

[ ` Period.asfreq  ` ](pandas.Period.asfreq.html#pandas.Period.asfreq
"pandas.Period.asfreq")

    

Convert a [ ` Period  ` ](pandas.Period.html#pandas.Period "pandas.Period")
object to the given frequency.

Examples

    
    
    >>> pidx = pd.period_range('2010-01-01', '2015-01-01', freq='Y')
    >>> pidx
    PeriodIndex(['2010', '2011', '2012', '2013', '2014', '2015'],
    dtype='period[Y-DEC]')
    
    
    
    >>> pidx.asfreq('M')
    PeriodIndex(['2010-12', '2011-12', '2012-12', '2013-12', '2014-12',
    '2015-12'], dtype='period[M]')
    
    
    
    >>> pidx.asfreq('M', how='S')
    PeriodIndex(['2010-01', '2011-01', '2012-01', '2013-01', '2014-01',
    '2015-01'], dtype='period[M]')
    

[ __ previous  pandas.PeriodIndex.year  ](pandas.PeriodIndex.year.html
"previous page") [ next  pandas.PeriodIndex.strftime  __
](pandas.PeriodIndex.strftime.html "next page")

__ On this page

  * ` PeriodIndex.asfreq()  `

[ __ Show Source
](../../_sources/reference/api/pandas.PeriodIndex.asfreq.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.