Skip to content

Commit

Permalink
Import is_datetime64_dtype from pandas.api.types. (#1619)
Browse files Browse the repository at this point in the history
As `databricks/koalas/internal.py` or `databricks/koalas/typedef/typehints.py` import `is_datetime64_dtype` and `is_datetime64tz_dtype` from `pandas.api.types`, `databricks/koalas/groupby.py` should also import them from the package.
  • Loading branch information
ueshin authored Jun 30, 2020
1 parent aec9cb1 commit 69320ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions databricks/koalas/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@

import numpy as np
import pandas as pd
from pandas._libs.parsers import is_datetime64_dtype
from pandas.core.dtypes.common import is_datetime64tz_dtype
from pandas.api.types import is_datetime64_dtype, is_datetime64tz_dtype

from pyspark.sql import Window, functions as F
from pyspark.sql.types import (
Expand Down

0 comments on commit 69320ba

Please sign in to comment.