Skip to content

Instantly share code, notes, and snippets.

View grantmwilliams's full-sized avatar

Grant Williams grantmwilliams

View GitHub Profile
@grantmwilliams
grantmwilliams / example.py
Created January 28, 2022 17:02
Pyarrow uint32() -> int64() bug?
import pyarrow as pa
import pyarrow.parquet as pq
file_name_mapping = {
pa.int32(): "int32",
pa.uint32(): "uint32",
pa.int64(): "int64",
pa.uint64(): "uint64"
}
@grantmwilliams
grantmwilliams / df_plot_example.ipynb
Created March 25, 2022 18:41
Example showing common plotting problems with bar charts in pandas data frames
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.