-
Notifications
You must be signed in to change notification settings - Fork 126
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
bug when load dataframe in pandastable #247
Comments
It's a rendering bug that was never fixed. It shouldn't otherwise alter the functionality of the table. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here is code
```
from tkinter import *
import pandas as pd
from pandastable import Table, TableModel, config
import Load_Dataframe
import numpy as np
class TestApp(Frame):
"""Basic test frame for the table"""
def init(self, parent=None):
self.parent = parent
Frame.init(self)
self.main = self.master
self.main.geometry('600x400+200+100')
self.main.title('Table app')
f = Frame(self.main)
f.pack(fill=BOTH,expand=1)
df = TableModel.getSampleData()
df = pd.DataFrame(
{
"A": 1.0,
"B": pd.Timestamp("20130102"),
"C": pd.Series(1, index=list(range(4)), dtype="float32"),
"D": np.array([3] * 4, dtype="int32"),
"E": pd.Categorical(["test", "train", "test", "train"]),
"F": "foo",
}
)
The text was updated successfully, but these errors were encountered: