Charles Burkland

Results 22 issues of Charles Burkland

https://github.com/static-frame/static-frame/blob/b1b55b491ed6bfea2bad12d264fca18594daf5a0/static_frame/core/archive_npy.py#L768 This branch fails when the provided file-like object is neither `io.BytesIO` nor a filepath. However, I would expect this case to work correctly: ```python with open(fp, "wb") as f:...

discussion
bug

**Description** It's not uncommon for queries to successfully finish, but return `None`. As such, static-frame will raise this error: ``` TypeError("int() argument must be a string, a bytes-like object or...

**Description** The `dtype` argument to `sf.Frame.assign.apply_element` doesn't behave as expected when the selection contains multiple columns. **Example** ```python from datetime import date import static_frame as sf frame = sf.Frame.from_records( [...

I have found an issue where closures are not being formed properly when in interactive mode of an `ipdb` session. Namely, variables defined in the session are not visible to...

**Example** ```python import static_frame as sf import frame_fixtures as ff bus = sf.Bus.from_frames( [ ff.parse("s(3,3)").rename("2024-01-01"), ff.parse("s(3,3)").rename("2024-01-02"), ff.parse("s(3,3)").rename("2024-01-03"), ], index_constructor=sf.IndexDate, ) quilt = sf.Quilt(bus, retain_labels=True) quilt.iloc[0] # This fails! quilt.iloc[:,0] #...

Hi @flexatone - this is a quick sketch to address an issue with xlsx Frame parsing. I don't have an up-to-date SF dev environment, so this is more meant as...

**Example** ```python from static_frame import Series, IndexDate def method(s: Series[IndexDate, float]) -> list[str]: x = s.index.astype(str) # < ------- mypy fails here: error: "IndexBase" has no attribute "astype" [attr-defined] ......

typing
good first issue

A mypy error reveals that the `Index.from_labels` constructor expects an `Iterable[Sequence[TLabel]]`, expect this is not correct, because the index labels could be (and often is), a 1-D iterable, i.e. `Iterable[TLabel]`

good first issue

I was sad to see this mypy error: ``` Argument 1 to "dict" has incompatible type "Series[str_, Any]"; expected "SupportsKeysAndGetItem[str_, Any]" [arg-type] ```

good first issue