Skip to content

Commit

Permalink
Update readme usage (#4)
Browse files Browse the repository at this point in the history
* Update readme

* Update python dependencies

* Update version

* Update python version dependency
  • Loading branch information
yanivzoh authored May 11, 2020
1 parent 13dfc5d commit 9569e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To install the library, run:

Then, you can call in your code:

from dmatrix2np import dmatrix2np
from dmatrix2np import dmatrix_to_numpy

converted_np_array = dmatrix_to_numpy(dmatrix)

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tool.poetry]
name = "dmatrix2np"
version = "1.0.0"
version = "1.0.1"
description = "Convert XGBoost's DMatrix to numpy array"
authors = ["Aporia technologies ltd <[email protected]>"]
license = "GPL-3.0"

[tool.poetry.dependencies]
python = "^3.6.1"
python = ">=3.6.1"
numpy = "*"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 9569e7f

Please sign in to comment.