<commit_before>module Docs
  class Pandas < UrlScraper
    self.name = 'pandas'
    self.type = 'sphinx'
    self.root_path = 'index.html'
    self.links = {
      home: 'http://pandas.pydata.org/',
      code: 'https://github.com/pydata/pandas'
    }

    html_filters.push 'pandas/entries', 'pandas/clean_html', 'sphinx/clean_html'

    # Cannot take only the body, as the sidebar gives info about the type.
    options[:container] = '.document'

    options[:skip] = %w(internals.html release.html contributing.html whatsnew.html)

    options[:attribution] = <<-HTML
      &copy; 2011&ndash;2012 Lambda Foundry, Inc. and PyData Development Team<br>
      &copy; 2008&ndash;2011 AQR Capital Management, LLC<br>
      &copy; 2008&ndash;2014 the pandas development team<br>
      Licensed under the 3-clause BSD License.
    HTML

    version '0.19' do
      self.release = '0.19.0'
      self.base_url = "http://pandas.pydata.org/pandas-docs/version/#{self.release}/"
    end

    version '0.18' do
      self.release = '0.18.1'
      self.base_url = "http://pandas.pydata.org/pandas-docs/version/#{self.release}/"
    end
  end
end
<commit_msg>Update pandas documentation (0.19.2, 0.18.1)<commit_after>module Docs
  class Pandas < UrlScraper
    self.name = 'pandas'
    self.type = 'sphinx'
    self.root_path = 'index.html'
    self.links = {
      home: 'http://pandas.pydata.org/',
      code: 'https://github.com/pydata/pandas'
    }

    html_filters.push 'pandas/entries', 'pandas/clean_html', 'sphinx/clean_html'

    # Cannot take only the body, as the sidebar gives info about the type.
    options[:container] = '.document'

    options[:skip] = %w(internals.html release.html contributing.html whatsnew.html)

    options[:attribution] = <<-HTML
      &copy; 2011&ndash;2012 Lambda Foundry, Inc. and PyData Development Team<br>
      &copy; 2008&ndash;2011 AQR Capital Management, LLC<br>
      &copy; 2008&ndash;2014 the pandas development team<br>
      Licensed under the 3-clause BSD License.
    HTML

    version '0.19' do
      self.release = '0.19.2'
      self.base_url = "http://pandas.pydata.org/pandas-docs/version/#{self.release}/"
    end

    version '0.18' do
      self.release = '0.18.1'
      self.base_url = "http://pandas.pydata.org/pandas-docs/version/#{self.release}/"
    end
  end
end

{'fraction_non_alphanumeric': 0.13806451612903226, 'fraction_numerical': 0.036989247311827955, 'mean_word_length': 2.9224283305227656, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '939834', 'n_tokens_mistral': 898, 'n_tokens_neox': 818, 'n_words': 182}