-
Notifications
You must be signed in to change notification settings - Fork 44
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
How to use template data: The number of days go out #53
Comments
Dear Rakesh @SM-ins , (Issue template "Request fixing a bug" will be useful.) |
Dear Lisphilar(@lisphilar ), @marcoferrante estimation_period_of_life_list = [ Adjustment by authordf["Types"] = df["Period_of_life"].replace( Show dataset_out_df = df.copy() ThankYou, |
Dear Rakesh @SM-ins , df["Office"] = df[["Types", "Days"]].apply(lambda x: x[1] if "work" in x[0] else 0, axis=1)
df["Others"] = df["Days"] - df[["School", "Office"]].sum(axis=1) This must be next to the following code. df["School"] = df[["Types", "Days"]].apply(lambda x: x[1] if "school" in x[0] else 0, axis=1) In the future version, I will add a interface of Population Pyramid dataset to CovsirPhy. |
Dear Lisphilar,
Thankyou so much for your kind response.
It's working now.
With regards,
Rakesh
…On Sat, Jul 4, 2020 at 10:56 AM Lisphilar ***@***.***> wrote:
Dear Rakesh @SM-ins <https://github.com/SM-ins> ,
Thank you for your response.
The following codes are necessary.
df["Office"] = df[["Types", "Days"]].apply(lambda x: x[1] if "work" in x[0] else 0, axis=1)df["Others"] = df["Days"] - df[["School", "Office"]].sum(axis=1)
This must be next to the following code.
df["School"] = df[["Types", "Days"]].apply(lambda x: x[1] if "school" in x[0] else 0, axis=1)
In the future version, I will add a interface of Population Pyramid
dataset to CovsirPhy.
Best Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP6Y4PHMZITI56HH64CWXGDRZ24QVANCNFSM4OORNL3A>
.
|
Dear Rakesh @SM-ins , |
Dear Lisphilar,
You are most. welcome.
…On Sat, Jul 4, 2020 at 3:59 PM Lisphilar ***@***.***> wrote:
Dear Rakesh @SM-ins <https://github.com/SM-ins> ,
Thank you for your confirmation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AP6Y4PAC6UGEJDTR277LMQTRZ4ABTANCNFSM4OORNL3A>
.
|
Dear Lisphilar(@lisphilar ),
i am getting keyError as "others" in # @marcoferrante estimation's code...,Please help me out if possible...
With regards,
Rakesh
The text was updated successfully, but these errors were encountered: