Module ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias Import alias identifier FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore BinOpSub AttributeLoad NameLoad attr Num AugAssignAdd SubscriptStore NameLoad Index BinOpBitAnd UnaryOpInvert Call NameLoad NameLoad CompareGtE NameLoad Num Num Assign NameStore Call NameLoad Num Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Num Assign NameStore BinOpSub AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Num Num orelse If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index BinOpBitAnd UnaryOpInvert Call NameLoad NameLoad CompareGtE NameLoad Num Num Assign NameStore Call NameLoad Num Num orelse Raise Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult BinOpSub NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr CompareEq BinOpMod NameLoad Num Num Call AttributeLoad NameLoad attr CompareEq BinOpMod NameLoad Num Num CompareGt BinOpMod NameLoad Num Num decorator_list
N/A pandas.compat lrange N/A numpy np N/A pandas.core.common com pandas.core.frame DataFrame N/A pandas.core.nanops nanops pivot_annual N/A N/A series freq N/A None N/A N/A 
    Group a series by years, taking leap years into account.

    The output has as many rows as distinct years in the original series,
    and as many columns as the length of a leap year in the units corresponding
    to the original frequency (366 for daily frequency, 366*24 for hourly...).
    The fist column of the output corresponds to Jan. 1st, 00:00:00,
    while the last column corresponds to Dec, 31st, 23:59:59.
    Entries corresponding to Feb. 29th are masked for non-leap years.

    For example, if the initial series has a daily frequency, the 59th column
    of the output always corresponds to Feb. 28th, the 61st column to Mar. 1st,
    and the 60th column is masked for non-leap years.
    With a hourly initial frequency, the (59*24)th column of the output always
    correspond to Feb. 28th 23:00, the (61*24)th column to Mar. 1st, 00:00, and
    the 24 columns between (59*24) and (61*24) are masked.

    If the original frequency is less than daily, the output is equivalent to
    ``series.convert('A', func=None)``.

    Parameters
    ----------
    series : Series
    freq : string or None, default None

    Returns
    -------
    annual : DataFrame
     N/A index N/A series index N/A year N/A index year N/A years N/A N/A nanops unique1d year N/A N/A freq None N/A N/A freq N/A N/A freq upper N/A N/A freq N/A N/A series index freq N/A N/A freq D N/A N/A width 366 N/A offset N/A N/A index dayofyear 1 N/A N/A offset N/A N/A N/A N/A isleapyear year N/A offset 59 1 N/A columns N/A lrange 1 367 N/A N/A N/A freq N/A M BM N/A N/A width 12 N/A offset N/A N/A index month 1 N/A columns N/A lrange 1 13 N/A N/A N/A freq H N/A N/A width 8784 N/A grouped N/A N/A series groupby N/A N/A series index year N/A defaulted N/A N/A grouped apply N/A N/A N/A x N/A N/A N/A x reset_index drop True N/A N/A defaulted index N/A N/A N/A defaulted index droplevel 0 N/A offset N/A N/A np asarray N/A defaulted index N/A N/A offset N/A N/A N/A N/A isleapyear year N/A offset 1416 24 N/A columns N/A lrange 1 8785 N/A N/A N/A NotImplementedError freq N/A flat_index N/A N/A N/A year N/A N/A years min width offset N/A flat_index N/A N/A com _ensure_platform_int flat_index N/A values N/A N/A np empty N/A N/A len years width N/A N/A N/A values fill N/A np nan N/A N/A N/A values put flat_index N/A series values N/A N/A DataFrame values index years columns columns N/A isleapyear N/A N/A year N/A N/A N/A 
    Returns true if year is a leap year.

    Parameters
    ----------
    year : integer / sequence
        A given (list of) year(s).
     N/A year N/A N/A np asarray year N/A N/A N/A np logical_or N/A N/A year 400 0 N/A N/A np logical_and N/A N/A year 4 0 N/A N/A year 100 0 N/A