Skip to content

Conversation

EmanueleCannizzaro
Copy link

Thanks for contributing to OpenFisca! Remove this line, as well as any other in the following that don't fit your contribution :)

Breaking changes

  • In some module:
    • Remove…

New features

  • Introduce some_function()
    • Allows for…

Deprecations

  • Deprecate some_function.
    • The functionality is now provided by…

Technical changes

  • Rename private_function.

@MattiSG
Copy link
Member

MattiSG commented Jun 3, 2023

Thanks @EmanueleCannizzaro for your contribution!

Could you please correct the description of your pull request, and tell us the main differences of this changeset with #1181, #1161 and #1168? 🙂 Thanks!



def contains_nan(vector):
print(vector)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove this print statement?

import traceback

import numpy
import pandas as pd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is useful to test pandas here, I suggest we move this as an actual test, and that we require pandas optionally in case we want to run that specific test.

if period is not None and not isinstance(period, Period):
period = periods.period(period)
##period = periods.period(period)
period = Period(period)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change (the badly named periods.period function is actually a builder function.

from nptyping import types, NDArray as Array
# Modified by Emanuele Cannizzaro on 03/06/2023
#from typing import types, NDArray as Array
import types
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! We should completely get rid of nptyping.

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