This rather large PR regroups many small additions and fixes that were useful to demonstrate some strengths of the system and are generally interesting / useful
This includes, but is not limited to:
import statements now introduce variables in the environment, with unknown types
Column can now be used in type expression, e.g. Column[int]
copy, info and sort_values methods on frames
not operator and proper handling of unary operations in Midas and Python
properly check parameter default values (ensure type matches annotation)
correctly parse int literals as integers in Midas (previously, all numbers were parsed as floats)
handle UnknownType more gracefully in some places
handle scalar operations on frames and columns (e.g. df * 2.5 - 3.2)
use formulae to compute the return type of some aggregation methods (e.g. mean = (Type + Type) / int)
This rather large PR regroups many small additions and fixes that were useful to demonstrate some strengths of the system and are generally interesting / useful
This includes, but is not limited to:
- import statements now introduce variables in the environment, with unknown types
- `Column` can now be used in type expression, e.g. `Column[int]`
- `copy`, `info` and `sort_values` methods on frames
- `not` operator and proper handling of unary operations in Midas and Python
- properly check parameter default values (ensure type matches annotation)
- correctly parse int literals as integers in Midas (previously, all numbers were parsed as floats)
- handle `UnknownType` more gracefully in some places
- handle scalar operations on frames and columns (e.g. `df * 2.5 - 3.2`)
- use formulae to compute the return type of some aggregation methods (e.g. `mean = (Type + Type) / int`)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This rather large PR regroups many small additions and fixes that were useful to demonstrate some strengths of the system and are generally interesting / useful
This includes, but is not limited to:
Columncan now be used in type expression, e.g.Column[int]copy,infoandsort_valuesmethods on framesnotoperator and proper handling of unary operations in Midas and PythonUnknownTypemore gracefully in some placesdf * 2.5 - 3.2)mean = (Type + Type) / int)__name__to preamble 8bc35f7754notoperator 164648e8df