category string | source_dataset string | language string | prompt string | thought string | code string | timestamp int64 |
|---|---|---|---|---|---|---|
pretrain_raw | codeparrot/codeparrot-clean | python | ###############################################################################
##
## Copyright (C) 2013-2014 Tavendo GmbH
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## h... | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | from itertools import chain
from django.utils.itercompat import is_iterable
class Tags:
"""
Built-in tags for internal checks.
"""
admin = 'admin'
caches = 'caches'
compatibility = 'compatibility'
database = 'database'
models = 'models'
security = 'security'
signals = 'signals... | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | """
The :mod:`sklearn.utils` module includes various utilites.
"""
from collections import Sequence
import numpy as np
from scipy.sparse import issparse
import warnings
from .murmurhash import murmurhash3_32
from .validation import (as_float_array, check_arrays, safe_asarray,
assert_all_fini... | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | """ Python Character Mapping Codec cp1250 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1250.TXT' with gencodec.py.
"""#"
import codecs
### Codec APIs
class Codec(codecs.Codec):
def encode(self,input,errors='strict'):
return codecs.charmap_encode(input,errors,encoding_table)
def decode(self,in... | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | #!/usr/bin/python
# encoding: utf-8 -*-
# Copyright: (c) 2013, Matthias Vogelgesang <matthias.vogelgesang@gmail.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
ANSIBLE_METADATA = {'... | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | "# This file was created automatically by SWIG 1.3.29.\n# Don't modify this file, modify the SWIG in(...TRUNCATED) | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | "# -*- coding: utf-8 -*-\n\"\"\"\n werkzeug.contrib.cache\n ~~~~~~~~~~~~~~~~~~~~~~\n\n The (...TRUNCATED) | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | "from contextlib import contextmanager\nfrom datetime import datetime\nfrom inspect import isclass\n(...TRUNCATED) | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | "import os\nfrom importlib import import_module\n\nfrom django.core.exceptions import ImproperlyConf(...TRUNCATED) | 1,788,757,675 | ||
pretrain_raw | codeparrot/codeparrot-clean | python | "# -*- coding: utf-8 -*-\n#\n# Copyright (c) 2017 F5 Networks Inc.\n# GNU General Public License v3.(...TRUNCATED) | 1,788,757,675 |
End of preview. Expand in Data Studio
- Downloads last month
- 172