Marco Edward Gorelli
Marco Edward Gorelli
The tricky part here is dealing with IPython magics, such as `%%timeit`, which aren't valid Python syntax Just bringing up `black`'s IPython magic handler, in case it's useful https://github.com/psf/black/blob/main/src/black/handle_ipynb_magics.py (perhaps...
Likewise for ``` time = %time 2+2 ``` --- ``` % jupytext --version 1.11.3 ```
> Also, maybe changing this for everyone would cause many diffs on existing notebooks. Agreed - but you can keep the commented out magics using this approach. You just use...
Other than the official does, I don't have any extra documentation (other than the docstrings in `src/black/handle_ipynb_magics.py` from https://github.com/psf/black/pull/2357/files )
So, try to parse with pyarrow, and otherwise keep the pandas post-processing? cc @mroeschke @WillAyd @shourya5 is the issue clear to you? It's a bit more complex than what was...
It's the function `_do_date_conversions` I think the idea would be something like: If pyarrow is able to do the conversion, then no need to call `_do_date_conversions`. If pyarrow throws an...
From git log it looks like it's been like this for years, but I can't tell why uint8 was chosen over int8. I'd be in favour of deprecating the current...
@pandas-dev/pandas-core anyone got any objections to changing the default type? Any reason to not just make the default type `bool`? Then, the return type would be clear, and if people...
> bool is a problem as doesn't play nice with missing values Sure, but why would `get_dummies` return a missing value anyway? Unless I'm missing something, the return values would...
Thanks @bashtage > float is probably the most sensible (between int64 and float) since it has the same storage requirements and handles nan fine. Regarding handling `nan` - is there...