def to_jsonld(df: pd.DataFrame, zip_file: str, write_flows=False): """Generates a JSONLD file of the methods passed as dataframe.""" util.log.info("write JSON-LD package to %s", zip_file) with jsonld.Writer(zip_file) as w: w.write(df, write_flows)
def to_jsonld(df: pd.DataFrame, zip_file: str, write_flows=False): log.info("write JSON-LD package to %s", zip_file) with jsonld.Writer(zip_file) as w: w.write(df, write_flows)