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

century = birth_years // 100 + 1 #235

hroncok opened this Issue Oct 18, 2017 · 1 comment


None yet
2 participants

hroncok commented Oct 18, 2017

Tohle nefunguje:

>>> birth_years = 2000
>>> century = birth_years // 100 + 1

Rok 2000 patří ještě do 20. století.

Můžeme argumentovat, že pro naše data to funguje, ale vhledem k tomu, že všechna naše data jsou v intervalu <1901; 1999> tak by fungovalo i (něco jako) return 20.

Vzhledem k výuce Pandas je tahle výtka irelevantní, jen mě to trklo.


This comment has been minimized.


encukou commented Oct 18, 2017

Možná by bylo lepší na tohle místo dát '(' + actors['name'] + ')'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment