[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Clarifying how the input data should look like #5

Open
rrosasl opened this issue Sep 1, 2022 · 0 comments
Open

Clarifying how the input data should look like #5

rrosasl opened this issue Sep 1, 2022 · 0 comments

Comments

@rrosasl
Copy link
rrosasl commented Sep 1, 2022

Hi, LOVE this library. Super helpful.

Only problem I had was with the date format :(. It took me a while to decipher how the input format for date ought to look like and then to transform the data.

The solution that I had for my input data which looked like this: (str) 2022-06-22 was
df['date']= pd.to_datetime(df['date'])
df['new_formatted_date'] = df.date.dt.strftime('%m/%d/%y %H:%M')

How to solve the issue?
I recommend to either:
A) Clarify exactly how the input data needs to look like
B) Enable multiple common date type input and transform them on the back-end

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

1 participant