Gert Hulselmans
Gert Hulselmans
[importlib.set_lazy_imports()](https://peps.python.org/pep-0690/) looks interesting.
There is also `pyforest` which does not require importing the modules yourself at all, till you call the function: https://medium.com/@virajmane02/pyforest-lazy-import-of-python-data-science-libraries-72428be0299b But I assume it will not play nicely with typechecking...
`importlib.util.find_spec("pandas")` might be a solution to set `_PANDAS_AVAILABLE`: ```python In [1]: import importlib In [2]: %time importlib.util.find_spec("numpy") CPU times: user 204 µs, sys: 12 µs, total: 216 µs Wall time:...
Working on it.
Can you share the example file or at least the first 20 lines or so? `n_rows` works in general, but apparently not all the time. I have a file with...
It seems like it is still not fixed in all cases in `0.14.11`. Now with a different file. ```python File ~/software/anaconda3/envs/pycistopic/lib/python3.10/site-packages/polars/internals/dataframe/frame.py:608, in DataFrame._read_csv(cls, file, has_header, columns, sep, comment_char, quote_char, skip_rows,...
I am not sure. I can read the file if I give n_rows with a big value. So the n_rows branch seems to work all the time. https://github.com/pola-rs/polars/blob/master/polars/polars-io/src/csv/utils.rs#L487 Not sure...
@ritchie46 ffspec supports differnt read buffering strategies: https://filesystem-spec.readthedocs.io/en/latest/api.html#readbuffering ``` fsspec.caching.ReadAheadCache(blocksize, …) | Cache which reads only when we get beyond a block of data -- | -- fsspec.caching.BytesCache(blocksize, …[, trim])...
FYI: https://docs.rs/jlrs/0.10.0/jlrs/ : provides a reasonably safe interface to the Julia C API that lets you call code written in Julia from Rust and vice versa. Currently this crate is...
Seq-lang itself is quite unlikely to be updated. The technology behind Seq-lang though lives on as Codon: https://exaloop.io/