Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
379 B
2
Indexable
Never
def get_oe_block_base(input_param_idx, data):
    st, ed              = bre_utils.get_block_idx(input_param_idx, data)
    code                = bre_utils.get_code(data.iloc[st:ed+1])
    code                = "\n".join(code)
    par_name, prog_name = data.iloc[st:ed+1]['Paragraph_Name'].iloc[0], data.iloc[st:ed+1]['Program_Name'].iloc[0]
    return (prog_name, par_name, code)
Leave a Comment