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

Cannot handle Date Column #3

Closed
MesumRaza opened this issue Jan 18, 2021 · 4 comments
Closed

Cannot handle Date Column #3

MesumRaza opened this issue Jan 18, 2021 · 4 comments

Comments

@MesumRaza
Copy link

image

Cannot handle date column

df['Date']=pd.to_datetime(df['Date']).dt.date

@PablocFonseca
Copy link
Owner

Could you please post the code you're using here?
This way I can reproduce the issue locally and fix it.

@PablocFonseca
Copy link
Owner

I think I found the error, I'll update a patch soon, meanwhile cast it to Datetime formats as a workaround

@MesumRaza
Copy link
Author

Thankyou. Can you also please post some tutorials how to color code columns? some of links are broken on various webs.

@PablocFonseca
Copy link
Owner

PablocFonseca commented Jan 19, 2021

This isssue is fixed in v0.1.6. I also add imedeltas support.
Later this week I'll upload a more comple example with color code on columns. Meanwhile you can check on ag-grid docs

To use with this component you just call (similar to line 113 in examples/example.py):

gb.configure_column("group",cellStyle={'backgroudColor':'darkred'})

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