-
Notifications
You must be signed in to change notification settings - Fork 16
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
Pote #259
Pote #259
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quel travail, bravo !
openfisca_france_data/pote/input_data_builder/before_script_pote_sas_to_parquet.py
Show resolved
Hide resolved
openfisca_france_data/pote/input_data_builder/before_script_pote_sas_to_parquet.py
Show resolved
Hide resolved
openfisca_france_data/pote/input_data_builder/step_02_b_simulation_credits_reductions.py
Outdated
Show resolved
Hide resolved
survey_name: str = None, | ||
batch_size: int = None, | ||
batch_index: int = 0, | ||
filter_by = None, # [(f'foyer_fiscal_id', 'in', [i for i in range(batch_size*batch_index,(batch_size*batch_index) + batch_size)])] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commentaire à garder ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oui je pense que c'est bien de le garder ça donne un exemple de comment doit être le filter_by
self.used_as_input_variables = var_to_keep + var_create_in_custom_input_data_frame | ||
else: | ||
self.used_as_input_variables = used_as_input_variables | ||
#print("Données du scenario : \n", data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code à supprimer ?
self.init_from_data( | ||
data=data, | ||
rebuild_input_data=rebuild_input_data, | ||
#config_files_directory=data["config_files_directory"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code à supprimer ?
@@ -58,8 +59,8 @@ | |||
"pypandoc", | |||
'pytest >=7.2.2, <8.0', | |||
"scipy >=1.2.1, <2.0.0", | |||
"toolz >=0.9.0, <1.0.0", | |||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
La convention en Python est plutôt de laisser les virgules sur les derniers éléments : https://stackoverflow.com/a/17002144
Co-authored-by: Benoit Courty <[email protected]>
Co-authored-by: Benoit Courty <[email protected]>
Co-authored-by: Benoit Courty <[email protected]>
…te_sas_to_parquet.py Co-authored-by: Benoit Courty <[email protected]>
…tion_credits_reductions.py Co-authored-by: Benoit Courty <[email protected]>
New features
/openfisca_france_data/pote/