摘要:
可以使用前面 后面 上面 下面值填充 df = pd.DataFrame({ "animal": ["", "安全能力", "1", ], "color": ["", "安全能力", "5.1.1"], "name": ['安全能力等级', "一级", "√"], "name1": ["", "二级 阅读全文
摘要:
首先推荐 camelot pdf_file_input = "TTAF086-2021.pdf" tables = camelot.read_pdf(pdf_file_input, pages='11', flavor='stream') df = tables[0].df df.to_excel( 阅读全文
摘要:
代码比较简洁 df = pd.DataFrame({ "animal": ("horse", "horse", "dog", "dog"), "color": ("black", "white", "grey", "black"), "name": ("Blacky", "Wendy", "Rufu 阅读全文