<commit_before>from spack import *
import os

class PyPandas(Package):
    """pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with relational or labeled data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python. Additionally, it has the broader goal of becoming the most powerful and flexible open source data analysis / manipulation tool available in any language."""
    homepage = "http://pandas.pydata.org/"
    url      = "https://pypi.python.org/packages/source/p/pandas/pandas-0.16.0.tar.gz#md5=bfe311f05dc0c351f8955fbd1e296e73"

    version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73')
    version('0.16.1', 'fac4f25748f9610a3e00e765474bdea8')

    extends('python')
    depends_on('py-dateutil')
    depends_on('py-numpy')
    depends_on('py-matplotlib')
    depends_on('py-scipy')
    depends_on('py-setuptools')
    depends_on('py-pytz')
    depends_on('libdrm')
    depends_on('libpciaccess')
    depends_on('llvm')
    depends_on('mesa')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)<commit_msg>This commit updates pandas and fixes dependencies. Added version 0.18.0. Added 'bin/f2py' to ignore so that activation works.<commit_after>from spack import *
import os

class PyPandas(Package):
    """pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with relational or labeled data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python. Additionally, it has the broader goal of becoming the most powerful and flexible open source data analysis / manipulation tool available in any language."""
    homepage = "http://pandas.pydata.org/"
    url      = "https://pypi.python.org/packages/source/p/pandas/pandas-0.16.0.tar.gz#md5=bfe311f05dc0c351f8955fbd1e296e73"

    version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73')
    version('0.16.1', 'fac4f25748f9610a3e00e765474bdea8')
    version('0.18.0', 'f143762cd7a59815e348adf4308d2cf6')

    extends('python', ignore=r'bin/f2py$')
    depends_on('py-dateutil')
    depends_on('py-numpy')
    depends_on('py-setuptools')
    depends_on('py-pytz')
    depends_on('py-numexpr')
    depends_on('py-bottleneck')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)
{'fraction_non_alphanumeric': 0.11447945751894695, 'fraction_numerical': 0.06900678101316314, 'mean_word_length': 4.381974248927039, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1082392', 'n_tokens_mistral': 916, 'n_tokens_neox': 833, 'n_words': 215}