KMT92

最近はKaggleも興味ある。

「 月別アーカイブ:2020年04月 」 一覧

The method of calculating the days difference (timedelta type variable) and integer variables on Python Pandas Dataframe.

When I calculated the days difference with Python, the result was not integer type but timedelta type. It would not calculate with integer type variable, so I researched method for conversion variables from timedelta type to integer type. I introduce this program and the program of calculation timedelta type variables without conversion.

PythonのPandas Dataframeで日数差(timedelta)を整数と計算する方法

Pythonで日数差を計算した際に算出されるtimedelta型変数を整数型に変換する方法。