We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add new top-level function into ndframe.py - piso.from_frame
It allows fast creation of interval arrays from vector data in dataframes
sig:
def from_frame(frame, start, end, group=None, index=False)
import piso df = pd.DataFrame( { "group";["A", "B", "A", "B"], "start":[1,3,5,7], "end":[2,4,6,8], } ) piso.from_frame(df, "start", "end", "group") # produces Series, indexed by "group", where values are interval arrays of type indicated by "index" param
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the solution you'd like
Add new top-level function into ndframe.py - piso.from_frame
It allows fast creation of interval arrays from vector data in dataframes
Additional context
sig:
def from_frame(frame, start, end, group=None, index=False)
The text was updated successfully, but these errors were encountered: