2-5
2-5
This minimal workaround would fix Windows without changing behavior on Linux/Mac: ```python # /ray/_private/log_monitor.py def is_proc_alive(pid): if sys.platform == "win32": import psutil try: return psutil.Process(pid).is_running() except psutil.NoSuchProcess: return False else:...
> There is probably no way to make this work directly however since VSCode notebooks now have support for ipywidgets you can use the Bokeh IPyWidget wrapper in `jupyter_bokeh`, which...
I have noticed the same issue. JupyterLab on the left, VS Code on the right:  All rows are double-height. The root cause is this CSS style: ```css dataframe td...
I worked around this problem by registering all enums on connection creation: ```python ENUM_TYPE = ( ("public", "order_type_t"), ("orders", "user_type_t"), ) async def register_enum_types(conn): for schema, typename in ENUM_TYPE: await...
> It makes sense to use regex in string replacement. I've seen many times security bugs being introduced because of unexpected regular expressions. In particular because of `.` matching anything....
> but no need to parrot the Python standard library But what about parroting the Rust standard library? I checked a few Polar names and they seem to match exactly...
The basic idea would be to never ever go beyond `set_tbl_width_chars`, so you would add columns one by one in the middle until you can't fit any one more. In...
But `join_asof` is a lax kind of join, more similar to a comparison than to equality.
The way I encountered this issue: I have a bunch of parquet files with a mix of `ms`/`ns` time units and I'm trying to `join_asof` various columns. Not a big...
That raises this exception: ```python TypeError: argument 'name': 'Expr' object cannot be converted to 'PyString' ``` It seems `join_asof` only allows `str` arguments for the `on` arguments: ```python def join_asof(...