Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
to
{'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp>
                  arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp>
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2122, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<content_hash: string, timestamp: string, source: string, line_count: int64, max_line_length: int64, avg_line_length: double, alnum_prop: double, repo_name: string, id: string, size: string, binary: bool, copies: string, ref: string, path: string, mode: string, license: string, language: list<item: struct<name: string, bytes: string>>, symlink_target: string>
              to
              {'content_hash': Value(dtype='string', id=None), 'timestamp': Value(dtype='string', id=None), 'source': Value(dtype='string', id=None), 'line_count': Value(dtype='int64', id=None), 'max_line_length': Value(dtype='int64', id=None), 'avg_line_length': Value(dtype='float64', id=None), 'alnum_prop': Value(dtype='float64', id=None), 'repo_name': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'size': Value(dtype='string', id=None), 'binary': Value(dtype='bool', id=None), 'copies': Value(dtype='string', id=None), 'ref': Value(dtype='string', id=None), 'path': Value(dtype='string', id=None), 'mode': Value(dtype='string', id=None), 'license': Value(dtype='string', id=None), 'language': [{'name': Value(dtype='string', id=None), 'bytes': Value(dtype='string', id=None)}]}
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1154, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2038, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

text
string
meta
dict
package org.onosproject.net.flow.criteria; import org.onlab.packet.TpPort; import java.util.Objects; /** * Implementation of SCTP port criterion (16 bits unsigned integer). */ public final class SctpPortCriterion implements Criterion { private final TpPort sctpPort; private final TpPort mask; private ...
{ "content_hash": "ace524c8a0379ece0e8e9a3981021917", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 75, "avg_line_length": 24.707865168539325, "alnum_prop": 0.5793542519326966, "repo_name": "LorenzReinhart/ONOSnew", "id": "ca5d1d5c1b570f1d3d78b6648759184b7e3f8e42", "size"...
<a href="http://github.com/angular/angular.js/tree/v1.2.0-rc.3/src/ng/directive/booleanAttrs.js#L176" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/booleanAttrs.js" class="improve-docs btn btn-primary"><i class=...
{ "content_hash": "59b45bb855d2572643a7069a56a54a94", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 409, "avg_line_length": 71.69047619047619, "alnum_prop": 0.7157090667552308, "repo_name": "jbdeboer/angular-velocity-talk", "id": "ba4e45793751e726f848f475150b74ad5e3ba428", ...
<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> **Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* - [修炼设计技法](#%E4%BF%AE%E7%82%BC%E8%AE%BE%E8%AE%A1%E6%8A%80%E6%B3%95) <!-- END doctoc g...
{ "content_hash": "bdd7fa2e3e85db524423de81775e7bd7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 84, "avg_line_length": 36.72727272727273, "alnum_prop": 0.7054455445544554, "repo_name": "ChanShuYi/uidesign_notebook", "id": "b710ff1b5ae8c7fbd3d41315746ddd71ed43bed6", "s...
package org.apache.nutch.protocol; // Hadoop imports import org.apache.hadoop.conf.Configurable; import org.apache.nutch.plugin.FieldPluggable; import org.apache.nutch.storage.WebPage; import crawlercommons.robots.BaseRobotRules; /** A retriever of url content. Implemented by protocol extensions. */ public interf...
{ "content_hash": "bca1f14999ec1d20edf405bcd741ca9b", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 79, "avg_line_length": 33.92, "alnum_prop": 0.7334905660377359, "repo_name": "supermy/nutch2", "id": "25dd59bf989643fe143acfdbdbdab6a81ae944ea", "size": "2498", "binary":...
package co.cask.cdap.data2.metadata.dataset; import co.cask.cdap.api.dataset.DatasetAdmin; import co.cask.cdap.api.dataset.DatasetContext; import co.cask.cdap.api.dataset.DatasetDefinition; import co.cask.cdap.api.dataset.DatasetProperties; import co.cask.cdap.api.dataset.DatasetSpecification; import co.cask.cdap.api...
{ "content_hash": "9172c72ae800277642ccb7562c02d65d", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 112, "avg_line_length": 43.69512195121951, "alnum_prop": 0.6893664526932738, "repo_name": "caskdata/cdap", "id": "a9cf4d3394b75d9c2c1079e15a90be963ade7edf", "size": "4182",...
#ifndef WTF_OwnPtr_h #define WTF_OwnPtr_h #include "wtf/HashTableDeletedValueType.h" #include "wtf/Noncopyable.h" #include "wtf/OwnPtrCommon.h" #include <algorithm> #include <utility> namespace WTF { template <typename T> class PassOwnPtr; template <typename T> class OwnPtr { WTF_MAKE_NONCOPYABLE(OwnPtr); pub...
{ "content_hash": "3f0e4b67afb33ef576690570e84284e1", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 105, "avg_line_length": 27.139737991266376, "alnum_prop": 0.6479485116653259, "repo_name": "joone/chromium-crosswalk", "id": "ec09c10e07efe1f86070f141466085efaa3ba007", "s...
<?php class Kwf_Component_Cache_MenuExpanded_Menu_Component extends Kwc_Menu_Expanded_Component { public static function getSettings($param = null) { $ret = parent::getSettings($param); $ret['level'] = 'root'; return $ret; } }
{ "content_hash": "96768fe45b977ada20ef2ab998701d06", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 89, "avg_line_length": 26.2, "alnum_prop": 0.6374045801526718, "repo_name": "koala-framework/koala-framework", "id": "f1dac5a87657c5e250f5c77d98d7307452afd7bc", "size": "26...
<div id="about"> <h3>About</h3> <p>The Etherton One Name Study contains records of over 5000 Ethertons worldwide, from the 15th century to present day. Search our archives to discover the history of your Etherton family tree</p> <h3>Contact</h3> <p>If you need further information regarding your Etherton...
{ "content_hash": "322292e334dee2d8483b3d9be8e4d069", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 200, "avg_line_length": 33.392857142857146, "alnum_prop": 0.611764705882353, "repo_name": "metherton/onsAngular", "id": "039ae760ac0b790d7b7d1022e34d5fd734c0149e", "size": ...
package codec import ( "encoding/binary" "fmt" "math" "github.com/juju/errors" ) // EncodeInt encodes the int64 value with variable length format. // The encoded bytes format is: length flag(1 byte) + encoded data. // The length flag is calculated with following way // flag Value Range // 8 -> [MinInt64, Min...
{ "content_hash": "e28a9bc6f9e4fbcb6e10e1af383376a1", "timestamp": "", "source": "github", "line_count": 287, "max_line_length": 114, "avg_line_length": 28.822299651567945, "alnum_prop": 0.6528046421663443, "repo_name": "zenlinTechnofreak/vessel", "id": "615b66be07736ae399aa6744f62469d1bf6e66cb", "s...
#include "windowgroup.h" #include "shadecontrol.h" #include <vector> #include <iostream> #include <boost/optional.hpp> #include "functions.h" #include "jsonobjects.h" #include "logging.h" namespace stadic { WindowGroup::WindowGroup() { } // Setters void WindowGroup::setName(const std::string &name){ m_name =...
{ "content_hash": "e9608aa4a0f53710265df97d058cf7e9", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 277, "avg_line_length": 34.239583333333336, "alnum_prop": 0.6029814420444174, "repo_name": "Architectural-Lighting-Simulation/STADIC", "id": "4d85869d4488ab666dd0b6af926f95f...
// Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al. // // 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 // // http://www.apache.org/licenses/LICENSE-2.0...
{ "content_hash": "26ab447b6f4d15147965163f26d73edd", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 90, "avg_line_length": 31.120253164556964, "alnum_prop": 0.45068130974171244, "repo_name": "jsmale/MassTransit", "id": "3ba365cead113eaf1037e4daae5db0701e7c17ac", "size": ...
(function (root, factory) { if (typeof exports === 'object') { // CommonJS factory(exports); } else if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['exports'], factory); } else { // Browser globals factory(root); } } (this...
{ "content_hash": "f5f69667209d52401bbef91e331cca91", "timestamp": "", "source": "github", "line_count": 1028, "max_line_length": 185, "avg_line_length": 34.494163424124515, "alnum_prop": 0.6084320360970107, "repo_name": "RTKKENYA/RTK", "id": "b78296a1a5d482ef3cfb12bb9ee4b1e9a4d872e7", "size": "3563...
layout: page title: Williams International Party date: 2016-05-24 author: Anthony Duke tags: weekly links, java status: published summary: Etiam non massa nisi. Etiam auctor consequat. banner: images/banner/office-01.jpg booking: startDate: 05/02/2019 endDate: 05/03/2019 ctyhocn: FMYAPHX groupCode: WIP publishe...
{ "content_hash": "0ca836bcf8b27b94b930fc8a27ae0270", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 675, "avg_line_length": 80, "alnum_prop": 0.8065476190476191, "repo_name": "KlishGroup/prose-pogs", "id": "be60add57fbd34021249e5824f30a1a14180e108", "size": "1684", "bin...
package com.cloud.host.dao; import com.cloud.cluster.agentlb.HostTransferMapVO; import com.cloud.cluster.agentlb.dao.HostTransferMapDao; import com.cloud.dc.ClusterVO; import com.cloud.dc.dao.ClusterDao; import com.cloud.gpu.dao.HostGpuGroupsDao; import com.cloud.gpu.dao.VGPUTypesDao; import com.cloud.host.HostTagVO; ...
{ "content_hash": "8efe76c927d6b299b5c1ee6628b5f510", "timestamp": "", "source": "github", "line_count": 1077, "max_line_length": 191, "avg_line_length": 49.045496750232125, "alnum_prop": 0.6681496346219379, "repo_name": "MissionCriticalCloud/cosmic", "id": "c86519f0efacf878831a57907ac1709fb2df597e", ...
package org.elasticsearch.search.aggregations.bucket.terms; import org.apache.lucene.index.DocValues; import org.apache.lucene.index.IndexReader; import org.apache.lucene.index.LeafReaderContext; import org.apache.lucene.index.RandomAccessOrds; import org.apache.lucene.index.SortedDocValues; import org.apache.lucene...
{ "content_hash": "1c5219ab71f905375849c50f17666749", "timestamp": "", "source": "github", "line_count": 433, "max_line_length": 138, "avg_line_length": 43.648960739030024, "alnum_prop": 0.6131746031746032, "repo_name": "strapdata/elassandra5-rc", "id": "62bad9313a774c7d24cc857a71f8a9108dd890b3", "s...
End of preview.

No dataset card yet

Downloads last month
1