Skip to content

Commit

Permalink
refactor: rename some infer methods for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist committed Nov 29, 2022
1 parent d14badc commit a8f5579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibis/expr/datatypes/value.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def infer_numpy_array(value):


@infer.register("pandas.Series")
def _(value):
def infer_pandas_series(value):
if value.dtype == np.object_:
value_dtype = _infer_object_array_dtype(value)
else:
Expand All @@ -232,7 +232,7 @@ def _(value):


@infer.register("pandas.Timestamp")
def _(value):
def infer_pandas_timestamp(value):
if value.tz is not None:
return dt.Timestamp(timezone=str(value.tz))
else:
Expand Down

0 comments on commit a8f5579

Please sign in to comment.