Python | Pandas TimedeltaIndex.is_monotonic_increasing Last Updated : 29 Dec, 2018 Summarize Comments Improve Suggest changes Share Like Article Like Report Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas TimedeltaIndex.is_monotonic_increasing attribute return True if the index value are monotonically increasing. It return True even when the values are equal. Syntax: TimedeltaIndex.is_monotonic_increasing Return : boolean Example #1: Use TimedeltaIndex.is_monotonic_increasing attribute to check if the TimedeltaIndex object is monotonic increasing or not. Python3 # importing pandas as pd import pandas as pd # Create the TimedeltaIndex object tidx = pd.TimedeltaIndex(start ='1 days 02:00:00', periods = 5, freq ='T') # Print the TimedeltaIndex print(tidx) Output : Now we will check if the TimedeltaIndex object is monotonic increasing or not. Python3 # check if tidx is monotonic increasing or not tidx.is_monotonic_increasing Output : As we can see in the output, the TimedeltaIndex.is_monotonic_increasing attribute has returned True indicating that value in tidx object is monotonically increasing. Example #2: Use TimedeltaIndex.is_monotonic_increasing attribute to check if the TimedeltaIndex object is monotonic increasing or not. Python3 # importing pandas as pd import pandas as pd # Create the TimedeltaIndex object tidx = pd.TimedeltaIndex(data =['-1 days 2 min 3us', '1 days 06:05:01.000030', '-1 days + 23:59:59.999999']) # Print the TimedeltaIndex print(tidx) Output : Now we will check if the TimedeltaIndex object is monotonic increasing or not. Python3 # check if tidx is monotonic increasing or not tidx.is_monotonic_increasing Output : As we can see in the output, the TimedeltaIndex.is_monotonic_increasing attribute has returned False indicating that value in tidx object is not monotonically increasing. Comment More infoAdvertise with us Next Article Python | Pandas Index.is_monotonic_increasing S Shubham__Ranjan Follow Improve Article Tags : Technical Scripter Python Python-pandas Python pandas-TimedeltaIndex Practice Tags : python Similar Reads Python | Pandas TimedeltaIndex.is_monotonic_decreasing Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas TimedeltaIndex.is_monotonic_decreasing attribute return True if the index value 2 min read Python | Pandas TimedeltaIndex.is_monotonic Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas TimedeltaIndex.is_monotonic attribute checks if the given TimedeltaIndex object 2 min read Python | Pandas Series.is_monotonic_increasing Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas series is a One-dimensional ndarray with axis labels. The labels need not be un 2 min read Python | Pandas Series.is_monotonic_decreasing Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas series is a One-dimensional ndarray with axis labels. The labels need not be un 2 min read Python | Pandas Index.is_monotonic_increasing Pandas Index is an immutable ndarray implementing an ordered, sliceable set. It is the basic object which stores the axis labels for all pandas objects. Pandas Index.is_monotonic_increasing attribute return True if the underlying data in the given Index object is monotonically increasing else it ret 2 min read Python | Pandas TimedeltaIndex.isin Python is a great language for doing data analysis, primarily because of the fantastic ecosystem of data-centric python packages. Pandas is one of those packages and makes importing and analyzing data much easier. Pandas TimedeltaIndex.isin() function compute a boolean array of whether each index va 2 min read Like