Skip to content

fix: deprecation warning regarding accessing single element series#131

Merged
birgits merged 1 commit into
wind-python:devfrom
sasanjac-lab:sasanjac/129-FutureWarning-Calling-float-on-a-single-element-Series-is-deprecated-and-will-raise-a-TypeError-in-the-future-Use-floatseriloc0-instead-selfnominal_
Jan 16, 2024
Merged

fix: deprecation warning regarding accessing single element series#131
birgits merged 1 commit into
wind-python:devfrom
sasanjac-lab:sasanjac/129-FutureWarning-Calling-float-on-a-single-element-Series-is-deprecated-and-will-raise-a-TypeError-in-the-future-Use-floatseriloc0-instead-selfnominal_

Conversation

@sasanjac
Copy link
Copy Markdown
Contributor

Fixes # 129

Changes proposed in this pull request:

  • access series element directly via .loc[0]

@maurerle
Copy link
Copy Markdown
Contributor

This fixes #129

which is also mentioned in #127 (comment)

@maurerle
Copy link
Copy Markdown
Contributor

Thank you @birgits , can you please also take a look at this one? :)

@birgits birgits merged commit 24be19d into wind-python:dev Jan 16, 2024
@sasanjac sasanjac deleted the sasanjac/129-FutureWarning-Calling-float-on-a-single-element-Series-is-deprecated-and-will-raise-a-TypeError-in-the-future-Use-floatseriloc0-instead-selfnominal_ branch January 19, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants