Example #1
0
def get_fixture_df():
    """
    파서를 사용해 데이터프레임을 반환합니다
    :return:
    """
    curr_path = Path(os.path.dirname(__file__))
    return parse_xml_to_csv(curr_path / Path("fixtures/MiniPosts.xml"))
Example #2
0
def get_fixture_df():
    """
    Use parser to return DataFrame
    :return:
    """
    curr_path = Path(os.path.dirname(__file__))
    return parse_xml_to_csv(curr_path / Path("fixtures/MiniPosts.xml"))
Example #3
0
def get_csv():
    parse_xml_to_csv(CURR_PATH / XML_PATH, save_path=CURR_PATH / CSV_PATH)