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

date avr. only on the level of centuries #12

Open
kasev opened this issue Jan 24, 2022 · 0 comments
Open

date avr. only on the level of centuries #12

kasev opened this issue Jan 24, 2022 · 0 comments

Comments

@kasev
Copy link
Contributor

kasev commented Jan 24, 2022

currently, the average dates are on the level of century (e.g. 1.5 = "2nd c. CE") or between-century (e.g. 2= "2nd-3rd c. CE") , what is not so straightforward for interpretation.

You can use the following code:

def update_dateavr(date_avr):
    if ".5" not in str(date_avr):
        date_avr += 0.5
    return date_avr
LAGT["date_avr"] = LAGT["date_avr"].apply(update_dateavr)
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

No branches or pull requests

1 participant