gets path extension
(path)
| 38 | return max(split)/sum(split) != 1. |
| 39 | |
| 40 | def get_ext(path): |
| 41 | """gets path extension""" |
| 42 | return os.path.splitext(path)[1] |
| 43 | |
| 44 | def get_dataset(path, **kwargs): |
| 45 | """gets dataset object based on keyword args and file at `path`""" |