You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on replacing Pandas library to Koalas Library in my python repo in VS Code. But Koalas module does not seem to have DateOffset() module similar to what pandas has.
I tried this : import databricks.koalas as ks kdf["date_col_2"] = kdf["date_col_1"] - ks.DateOffset(months=cycle_info_gap)
It results in the below error : AttributeError: module 'databricks.koalas' has no attribute 'DateOffset'
Is there any alternative for this in Koalas?
The text was updated successfully, but these errors were encountered:
I am working on replacing Pandas library to Koalas Library in my python repo in VS Code. But Koalas module does not seem to have DateOffset() module similar to what pandas has.
I tried this :
import databricks.koalas as ks kdf["date_col_2"] = kdf["date_col_1"] - ks.DateOffset(months=cycle_info_gap)
It results in the below error :
AttributeError: module 'databricks.koalas' has no attribute 'DateOffset'
Is there any alternative for this in Koalas?
The text was updated successfully, but these errors were encountered: