Skip to content

Commit

Permalink
update (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
goodwanghan committed Jan 1, 2021
1 parent 87fe33a commit a49d841
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ pip install triad

## Release History

### 0.4.7

* Fix numpy warning

### 0.4.6

* Improve pandas like utils `enforce` method to handle str -> bool
Expand Down
2 changes: 1 addition & 1 deletion triad/utils/pandas_like.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def fillna_default(self, col: Any) -> Any:
:return: filled series
"""
dtype = col.dtype
if np.issubdtype(dtype, "datetime64"):
if np.issubdtype(dtype, np.datetime64):
return col.fillna(_DEFAULT_DATETIME)
if np.issubdtype(dtype, np.str) or np.issubdtype(
dtype, np.string_
Expand Down
2 changes: 1 addition & 1 deletion triad_version/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.6"
__version__ = "0.4.7"

0 comments on commit a49d841

Please sign in to comment.