I've got a DataFrame like this:
+-------------------+-----------+-------------+
| months| type|summaoborotdt|
+-------------------+-----------+-------------+
|2022-01-01 00:00:00| schet_21| 131329.55|
|2022-01-01 00:00:00| schet_22| 7716.1|
|2022-01-01 00:00:00| schet_23| 23883.65|
|2022-01-01 00:00:00| schet_24| 131214.84|
|2022-01-01 00:00:00| schet_25| 5129.21|
|2022-01-01 00:00:00| schet_26| 15651.74|
|2022-01-01 00:00:00| schet_27| 1700.01|
|2022-01-01 00:00:00| schet_28| 3992.0|
|2022-01-01 00:00:00| schet_29| 16601.33|
|2022-01-01 00:00:00| schet_30| 27939.84|
+-------------------+-----------+-------------+
How can I resample dataframe to days with filled column summaoborotdt/num of days in month?
In Pandas, I could use df.resample('D').ffill(), but there is no such function in PySpark.