<commit_before># -*- coding: utf-8 -*-

__version__ = '0.1.0'

from pandas import Index, Series, DataFrame

from ctd import asof, from_edf, from_cnv, from_fsi, rosette_summary
from processing import (data_conversion, align, despike, seabird_filter,
                        cell_thermal_mass, press_check, bindata, split,
                        pmel_inversion_check, smooth, mixed_layer_depth,
                        barrier_layer_thickness)
from plotting import (get_maxdepth, extrap_sec, gen_topomask, plot, plot_vars,
                      plot_section)


# Attach methods.
Index.asof = asof

Series.plot = plot
Series.split = split
Series.smooth = smooth
Series.despike = despike
Series.bindata = bindata
Series.press_check = press_check

DataFrame.split = split
DataFrame.from_cnv = from_cnv
DataFrame.from_edf = from_edf
DataFrame.from_fsi = from_fsi
DataFrame.plot_vars = plot_vars
DataFrame.press_check = press_check
DataFrame.get_maxdepth = get_maxdepth
DataFrame.plot_section = plot_section<commit_msg>Constructors are added at __init__.py with staticmethod.<commit_after># -*- coding: utf-8 -*-

__version__ = '0.1.0'

from pandas import Index, Series, DataFrame

from ctd import asof, from_edf, from_cnv, from_fsi, rosette_summary
from processing import (data_conversion, align, despike, seabird_filter,
                        cell_thermal_mass, press_check, bindata, split,
                        pmel_inversion_check, smooth, mixed_layer_depth,
                        barrier_layer_thickness)
from plotting import (get_maxdepth, extrap_sec, gen_topomask, plot, plot_vars,
                      plot_section)


# Attach methods.
Index.asof = asof

Series.plot = plot
Series.split = split
Series.smooth = smooth
Series.despike = despike
Series.bindata = bindata
Series.press_check = press_check

DataFrame.split = split
DataFrame.from_cnv = staticmethod(from_cnv)
DataFrame.from_edf = staticmethod(from_edf)
DataFrame.from_fsi = staticmethod(from_fsi)
DataFrame.plot_vars = plot_vars
DataFrame.press_check = press_check
DataFrame.get_maxdepth = get_maxdepth
DataFrame.plot_section = plot_section
{'fraction_non_alphanumeric': 0.07484604452865941, 'fraction_numerical': 0.0037896731406916154, 'mean_word_length': 3.7674943566591423, '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': '5851449', 'n_tokens_mistral': 690, 'n_tokens_neox': 661, 'n_words': 155}