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

Ibis Timestamp not displaying as datetime axis #5521

Open
MarcSkovMadsen opened this issue Nov 26, 2022 · 0 comments · May be fixed by #5522
Open

Ibis Timestamp not displaying as datetime axis #5521

MarcSkovMadsen opened this issue Nov 26, 2022 · 0 comments · May be fixed by #5522
Labels
type: bug Something isn't correct or isn't working
Milestone

Comments

@MarcSkovMadsen
Copy link
Collaborator

I'm on the current master branch (1.15.2.post4+g5d22218ab).

I would like to try out the ibis backend using duckdb. But it seems that Timestamps are not displayed correctly.

import ibis
import pandas as pd
import panel as pn
import holoviews as hv

pn.extension(sizing_mode="stretch_width")

df = pd.DataFrame({
    "x": [pd.Timestamp("2022-01-01"), pd.Timestamp("2022-01-02")], "y": [1,2]
})
con = ibis.pandas.connect({"df": df})
table = con.table("df")
print(table.schema())

plot_ibis = hv.Curve(table, kdims="x", vdims="y")
plot_pandas = hv.Curve(df, kdims="x", vdims="y")

pn.Column(
    "# Ibis", plot_ibis,
    "# Pandas", plot_pandas
).servable()

image

@MarcSkovMadsen MarcSkovMadsen added the type: bug Something isn't correct or isn't working label Nov 26, 2022
@MarcSkovMadsen MarcSkovMadsen added this to the 1.15.3 milestone Nov 26, 2022
@MarcSkovMadsen MarcSkovMadsen changed the title Ibis Timestamp not displaying as datatime axis Ibis Timestamp not displaying as datetime axis Nov 27, 2022
@hoxbro hoxbro modified the milestones: 1.15.3, 1.15.x Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants