Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom resolver for query and eval with nested frames. #150

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Oct 9, 2024

  1. Use custom resolver for query and eval with nested frames.

    Verify preflighting of nested expressions using AST visitation.
    
    Remove logic for splitting queries by string.  Now the evaluation is
    handled by a nested column resolver, and the mixed-mode expressions
    are preflighted by examining the parsed abstract syntax tree for
    the query expression.
    gitosaurus committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    850bd03 View commit details
    Browse the repository at this point in the history
  2. Import type hint syntax from the future.

    Also remove `_ensure_spacing`, no longer used.
    gitosaurus committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ee57673 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    838ae68 View commit details
    Browse the repository at this point in the history
  4. Remove the multi-dimensional error fallback from NestedFrame.query.

    This logic was copied from pd.DataFrame.query, and the accompanying
    comment said that it was to handle an occasional case where
    `self.loc[b]` would raise an error on a multi-dimensional `b`, but
    `self[b]` would succeed.  I can't cause this error with `.loc` anymore,
    so the code coverage complains about the unexercised exception
    clause.  Removing it since the limitation that inspired it seems
    to be gone now.
    gitosaurus committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9ad4313 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bc83087 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Rename NestedSeries to _SeriesFromNest.

    Prevent users from depending on the public interface, and also
    from assuming that a `NestedSeries` has a nest within it, since
    that is the existing meaning of that prefix.
    gitosaurus committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d996fd7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bdce042 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Improve documentation.

    gitosaurus committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    67c49ff View commit details
    Browse the repository at this point in the history