<commit_before>__author__ = 'max'

import gpxpandas.gpxreader as gpx_reader


def read_gpx(gpx_file_name):
    with open(gpx_file_name, 'r') as gpx_file:
        gpx = gpx_reader.parse_gpx(gpx_file)
        return gpx_reader.pandas_data_frame_for_gpx(gpx)


def write_gpx(pd_data_frame):
    # TODO write gpx file from pandas
    pass<commit_msg>reading into pandas also from gpx object itself<commit_after>__author__ = 'max'

import gpxpandas.gpxreader as gpx_reader


def read_gpx_file(gpx_file_name):
    with open(gpx_file_name, 'r') as gpx_file:
        gpx = gpx_reader.parse_gpx(gpx_file)
        return read_gpx(gpx)


def read_gpx(gpx):
    return gpx_reader.pandas_data_frame_for_gpx(gpx)


def write_gpx(pd_data_frame):
    # TODO write gpx file from pandas
    pass
{'fraction_non_alphanumeric': 0.07593307593307594, 'fraction_numerical': 0.0, 'mean_word_length': 4.328767123287672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '314505', 'n_tokens_mistral': 320, 'n_tokens_neox': 310, 'n_words': 62}