Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ip addresses interpreted as durations #62

Closed
harold opened this issue May 6, 2020 · 2 comments
Closed

ip addresses interpreted as durations #62

harold opened this issue May 6, 2020 · 2 comments

Comments

@harold
Copy link
Contributor

harold commented May 6, 2020

tech.ip-addresses> (println (slurp "./test/data/ip-addresses.csv"))
name,ip
Harold,10.0.0.1
Google,172.217.1.206
nil

tech.ip-addresses> (ds/->dataset "./test/data/ip-addresses.csv")
#<tech.ml.dataset.impl.dataset.Dataset@3b60f35c ./test/data/ip-addresses.csv [2 2]:

|   name |              ip |
|--------+-----------------|
| Harold |     PT10H0.001S |
| Google | PT175H37M1.206S |
>
@cnuernber
Copy link
Collaborator

This is definitely a bug. Temporary work around is to parse the column as string
(->dataset ... {:parser-fn {"ip" :string}})

@cnuernber
Copy link
Collaborator

Fixed by f83fa3e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants