EL-BID / UrbanTrips

An open-source library to process smart card payment data, infer destination and get meaningful KPI
https://el-bid.github.io/UrbanTrips/
Other
24 stars 2 forks source link

Creating cumsum on tirp id with same od may brake #37

Closed alephcero closed 1 year ago

alephcero commented 1 year ago

Here we add the cumulative sum for trips with same OD. This could brake. It would be better to use values or explicit join by keys.

    df['cumsum'] = cumsum_mismo_od.values
alephcero commented 1 year ago

Closed by https://github.com/EL-BID/UrbanTrips/commit/59126c5881a940049bb6ba6c65adf051da00a7bb