Skip to content

Commit

Permalink
Split pandas functions into separate module.
Browse files Browse the repository at this point in the history
This frees //labm8:sqlutil from the dependency on
//third_party/py/pandas, which is currently broken.

github.com/ChrisCummins/phd/issues/51

[Exported from 2391f3a74286a844b98a5537a0e17c4a19ddf324]
  • Loading branch information
ChrisCummins committed Aug 23, 2019
1 parent 645c8bb commit 0cbca6c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions labm8/py/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,28 @@ py_test(
],
)

py_library(
name = "pdutil",
srcs = ["pdutil.py"],
visibility = ["//visibility:public"],
deps = [
":app",
":sqlutil",
"//third_party/py/pandas",
],
)

py_test(
name = "pdutil_test",
srcs = ["pdutil_test.py"],
deps = [
":pdutil",
":sqlutil",
":test",
"//third_party/py/sqlalchemy",
],
)

py_library(
name = "ppar",
srcs = ["ppar.py"],
Expand Down

0 comments on commit 0cbca6c

Please sign in to comment.