We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. If a pandas dataframe column contains large int64 numbers the DataGrid renders some of them as negative numbers.
data = { 'A': np.random.randint(1e15, 1e18, size=10, dtype='int64'), 'B': np.random.randint(1e15, 1e18, size=10, dtype='int64'), } test_df = pd.DataFrame(data) grid = DataGrid(test_df, layout={'height': '600px'}, base_column_size=100, base_row_size=32, selection_mode='cell', ) grid
While transforming such columns into str solve the problem, it then takes a lot of time to construct and render the DataGrid. Any solution for that?
str
The text was updated successfully, but these errors were encountered:
Seems like pandas views the int64 as an unsigned representation, while DataGrid is using a signed representation.
Sorry, something went wrong.
No branches or pull requests
Hi. If a pandas dataframe column contains large int64 numbers the DataGrid renders some of them as negative numbers.
While transforming such columns into
str
solve the problem, it then takes a lot of time to construct and render the DataGrid. Any solution for that?The text was updated successfully, but these errors were encountered: