<commit_before># -*- coding: utf-8 -*-
# Copyright (c) 2015-2017, Exa Analytics Development Team
# Distributed under the terms of the Apache License 2.0
"""
DataFrame
########################
"""
import six
import pandas as pd
from .base import ABCBaseMeta, ABCBase
from .dataseries import DataSeries


class DataFrameMeta(ABCBaseMeta):
    dimensions = (list, tuple)


class DataFrame(six.with_metaclass(DataFrameMeta, pd.DataFrame, ABCBase)):
    _metadata = ["name", "dimensions", "uid", "meta"]
    _constructor_sliced = DataSeries

    @property
    def _constructor(self):
        return DataFrame
<commit_msg>init aliases, do for ds as well?<commit_after># -*- coding: utf-8 -*-
# Copyright (c) 2015-2017, Exa Analytics Development Team
# Distributed under the terms of the Apache License 2.0
"""
DataFrame
########################
"""
import six
import pandas as pd
from .base import ABCBaseMeta, ABCBase
from .dataseries import DataSeries


class DataFrameMeta(ABCBaseMeta):
    dimensions = (list, tuple)
    aliases = dict


class DataFrame(six.with_metaclass(DataFrameMeta, pd.DataFrame, ABCBase)):
    _metadata = ["name", "dimensions", "uid", "meta", "aliases"]
    _constructor_sliced = DataSeries

    @property
    def _constructor(self):
        return DataFrame

{'fraction_non_alphanumeric': 0.1405152224824356, 'fraction_numerical': 0.01717408274785324, 'mean_word_length': 4.45531914893617, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2446554', 'n_tokens_mistral': 400, 'n_tokens_neox': 371, 'n_words': 121}