Closed SlimFrkh closed 1 year ago
There is a release 2.5.0 in the making that will include this. The syntax will be as follows:
from nptyping import DataFrame, Structure as S
DataFrame[S["[a, b]: Int, *"]] # <-- a DataFrame with AT LEAST int columns a and b
With v2.5.0 this issue should be resolved. Please let me know if you encounter any problems still.
Today, we can't type describe some structrure partially. for example, col a and b are ints + I don't care about other columns. Example function:
with wildcard on colnames we would make type hints like follows: