Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address various deprecations and test issues with pandas 2.2.0 #203

Merged
merged 9 commits into from
Feb 8, 2024

Commits on Jan 22, 2024

  1. Address "T"/"H" time freq deprecations

    * FutureWarning: 'T' is deprecated and will be removed in a future version, please use 'min' instead.
    * FutureWarning: 'H' is deprecated and will be removed in a future version, please use 'h' instead.
    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2f9fae1 View commit details
    Browse the repository at this point in the history
  2. Simplify outliers.zscore

    * FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '[...]' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    e67ffa9 View commit details
    Browse the repository at this point in the history
  3. Fix FutureWarning in clipping.levels

    * FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    80d40f2 View commit details
    Browse the repository at this point in the history
  4. Fix FutureWarning in clearsky.reno

    * FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]`
    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d55d061 View commit details
    Browse the repository at this point in the history
  5. Fix FutureWarning in gaps.py

    *  FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    caf2cff View commit details
    Browse the repository at this point in the history
  6. whatsnew

    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    9bdfc51 View commit details
    Browse the repository at this point in the history
  7. one more "T" -> "min" fix

    kandersolar committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    304542e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bc8ef28 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    56c5f5c View commit details
    Browse the repository at this point in the history