News for hackers. Stuff that matters.
Re:Kotlin for Data Analysis by sampo on Wednesday August 28, 2024 @09:39PM (#41386386)

    import datetime
    import pandas as pd

    hundred_or_less_even_seconds = (
        pd.Series(range(1, 1000))
        .loc[lambda x: x <= 100]
        .loc[lambda x: x % 2 == 0]
        .map(lambda x: datetime.timedelta(seconds=x))
        .to_list()
    )
Re:Kotlin for Data Analysis by billfruit on Thursday August 29, 2024 @01:02AM (#41387512)
Frankly much less clearer/less readability than the Kotlin code.