Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/io/arff/arffread.py: 83%
6 statements
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-14 06:37 +0000
« prev ^ index » next coverage.py v7.4.1, created at 2024-02-14 06:37 +0000
1# This file is not meant for public use and will be removed in SciPy v2.0.0.
2# Use the `scipy.io.arff` namespace for importing the functions
3# included below.
5from scipy._lib.deprecation import _sub_module_deprecation
7__all__ = [ # noqa: F822
8 'MetaData', 'loadarff', 'ArffError', 'ParseArffError',
9 'r_meta', 'r_comment', 'r_empty', 'r_headerline',
10 'r_datameta', 'r_relation', 'r_attribute', 'r_nominal',
11 'r_date', 'r_comattrval', 'r_wcomattrval', 'Attribute',
12 'NominalAttribute', 'NumericAttribute', 'StringAttribute',
13 'DateAttribute', 'RelationalAttribute', 'to_attribute',
14 'csv_sniffer_has_bug_last_field', 'workaround_csv_sniffer_bug_last_field',
15 'split_data_line', 'tokenize_attribute', 'tokenize_single_comma',
16 'tokenize_single_wcomma', 'read_relational_attribute', 'read_header',
17 'basic_stats', 'print_attribute', 'test_weka'
18]
21def __dir__():
22 return __all__
25def __getattr__(name):
26 return _sub_module_deprecation(sub_package="io.arff", module="arffread",
27 private_modules=["_arffread"], all=__all__,
28 attribute=name)