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
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JianShuCore.Model { public class FollowResult : BaseResult { [JsonProperty("following_count")] private int FollowingCount { g...
{ "content_hash": "325ddafe77e6680501f7bc94d9b2f344", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 42, "avg_line_length": 18.884615384615383, "alnum_prop": 0.5784114052953157, "repo_name": "youngytj/uwp_AiJianShu", "id": "3f6eab89b98acda4973625da24b02dd3b23f86e4", "size"...
/** * vishnucss toggleeee - v1.3.3 * https://vishnucss.github.io/vishnu#toggle */ /* * Variables */ :root { /* Typography */ --base-font-family: -apple-system, BlinkMacSystemFont, Avenir, "Avenir Next", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sa...
{ "content_hash": "9393496646403fb7304bf57d3bb3bfbe", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 79, "avg_line_length": 22.402714932126695, "alnum_prop": 0.6433043829529388, "repo_name": "vishnucss/vishnu", "id": "0f95a45db5a81c44315ab53071bb87d917384cf5", "size": "49...
FactoryGirl.define do factory :post, class: Pulitzer::Post do sequence(:title) { |n| "Winterfell news #{n}" } association :post_type_version after(:create) do |post_type| post_type.create_preview_version end end end
{ "content_hash": "fdf769ff29098c28652d3213538b48e5", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 51, "avg_line_length": 26.88888888888889, "alnum_prop": 0.6694214876033058, "repo_name": "edraut/pulitzer", "id": "ef86f22436e1e0a5d32aeae037c50438b6d41826", "size": "242", ...
#ifndef CODA_DB_SELECT_QUERY_H #define CODA_DB_SELECT_QUERY_H #include "join_clause.h" #include "query.h" #include "resultset.h" #include "where_clause.h" namespace coda { namespace db { struct union_operator; namespace union_op { typedef enum { none, all ...
{ "content_hash": "86b3611f92a93576bd6129f8b42b8217", "timestamp": "", "source": "github", "line_count": 335, "max_line_length": 120, "avg_line_length": 31.97313432835821, "alnum_prop": 0.47007749043039865, "repo_name": "ryjen/arg3db", "id": "183583276999c966848190e13e15b240607202fa", "size": "10788...
import json import scrapy import pandas as pd from DataHouse.items import Anjuke anjuke_list = [] class QuotesSpider(scrapy.Spider): name = "anjuke" def start_requests(self): urls = ['https://m.anjuke.com/wh/community/?from=trendency_rec_more&p=%d' % i for i in range(10)] for url in urls: ...
{ "content_hash": "c5f29ae57a098446869306bfd8e1ed47", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 107, "avg_line_length": 35.37931034482759, "alnum_prop": 0.6003898635477583, "repo_name": "EclipseXuLu/DataHouse", "id": "72be3d5930718608ce4b9e6defbc98ec03ab0fb5", "size":...
// flow-typed signature: 341b01e9a1dc136b72cdd2240f417dde // flow-typed version: <<STUB>>/errorhandler_v1.5.0/flow_v0.43.0 /** * This is an autogenerated libdef stub for: * * 'errorhandler' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with t...
{ "content_hash": "8aea487db713b5f1f6baa2c35f154d09", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 77, "avg_line_length": 26.90625, "alnum_prop": 0.7200929152148664, "repo_name": "InsidersByte/honeymoon-gift-list", "id": "c0508abb07fd12c11607d1509b1b0fbfcea8c23a", "size"...
using System; namespace MeasureMap { /// <summary> /// Extension methods for BenchmarkRunner /// </summary> public static class BenchmarkRunnerTask { /// <summary> /// Sets the Task that will be benchmarked /// </summary> /// <param name="runner">The BenchmarkRunner...
{ "content_hash": "e48e2a50c0858e0c280cdbf2b7718643", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 120, "avg_line_length": 35.84158415841584, "alnum_prop": 0.5748618784530387, "repo_name": "WickedFlame/MeasureMap", "id": "fadb00c9bd6330ef6da19b59fa0635f9012cf11c", "size...
package org.elasticsearch.xpack.sql.expression.function.scalar.datetime; import org.elasticsearch.test.ESTestCase; import org.elasticsearch.xpack.ql.expression.Expression; import org.elasticsearch.xpack.ql.expression.function.scalar.FunctionTestUtils; import org.elasticsearch.xpack.ql.expression.gen.pipeline.BinaryP...
{ "content_hash": "943bc3813e626d5c4f58d062a9534a6d", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 134, "avg_line_length": 41.3027027027027, "alnum_prop": 0.6139248789425468, "repo_name": "uschindler/elasticsearch", "id": "d6ada03b11421caf156a7961feb0986477d956fd", "siz...
/** * TaltioniAPI_GetApplicationInfo_SenderFault_FaultMessage.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.2 Built on : Apr 17, 2012 (05:33:49 IST) */ package fi.taltioni._0._1.taltioniapi; public class TaltioniAPI_GetApplicationInfo_SenderFault_FaultMessage extends java.l...
{ "content_hash": "2ded7eafc144c7fa99632f213d97200e", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 116, "avg_line_length": 31.53488372093023, "alnum_prop": 0.7042772861356932, "repo_name": "Sensotrend/moves2taltioni", "id": "ac6be31bf4f75d5a4fd78978ea953b4e3af686f7", "si...
/*global jQuery */ ;(function( $ ){ "use strict"; /** * Initialize the lifestream plug-in * @param {Object} config Configuration object */ $.fn.lifestream = function( config ) { // Make the plug-in chainable return this.each(function() { // The element where the lifestream is linked to...
{ "content_hash": "84974794c9e8131e8f0d77a6a57eed92", "timestamp": "", "source": "github", "line_count": 2731, "max_line_length": 170, "avg_line_length": 26.840717685829368, "alnum_prop": 0.5342146189735615, "repo_name": "christianv/jquery-lifestream", "id": "fd1f2290e53c6d17bbb54a10c3df8e9afb0500e3",...
cask "chromedriver" do version "86.0.4240.22" sha256 "351ae30e9feab7ca6ccb94a549afcd62d6355561b78b8386cd4271d480a2fdc6" # chromedriver.storage.googleapis.com/ was verified as official when first introduced to the cask url "https://chromedriver.storage.googleapis.com/#{version}/chromedriver_mac64.zip" appcast...
{ "content_hash": "57701058cb0a635ab79c4c19f65a8dd1", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 99, "avg_line_length": 40.785714285714285, "alnum_prop": 0.7950963222416813, "repo_name": "jgarber623/homebrew-cask", "id": "6f35edcd45acb89c4116b57a4dbecf6033b499de", "siz...
"""empty message Revision ID: 0067_service_contact_block Revises: 0066_add_dvla_provider Create Date: 2017-02-28 11:23:40.299110 """ # revision identifiers, used by Alembic. revision = "0067_service_contact_block" down_revision = "0066_add_dvla_provider" import sqlalchemy as sa from alembic import op def upgrade(...
{ "content_hash": "b3019cca350747180567d5622c912e6e", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 98, "avg_line_length": 30.142857142857142, "alnum_prop": 0.7014218009478673, "repo_name": "alphagov/notifications-api", "id": "b98873ee518b8b95d52605379adb5504e231afc7", "s...
<section data-ng-controller="SongsController"> <h1>New Song</h1> <form data-ng-submit="create()" novalidate> <div> <label for="index">Index</label> <div> <input type="text" data-ng-model="index" id="index" placeholder="Index" required> </div> </div> ...
{ "content_hash": "242050ed912eb55883260498212eda66", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 61, "avg_line_length": 25.285714285714285, "alnum_prop": 0.5096045197740113, "repo_name": "valentin7/shazam-datascience", "id": "89a3c193a609e35c48ab21d3526207bcc2670ead", ...
package io.quarkus.hibernate.orm.panache.deployment.test.multiple_pu.repository; import javax.enterprise.context.ApplicationScoped; import io.quarkus.hibernate.orm.panache.PanacheRepositoryBase; @ApplicationScoped public class Issue11842Repository implements PanacheRepositoryBase<Issue11842Entity, Integer> { }
{ "content_hash": "37ca99c2000ec04031f0e9981f09d9b2", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 95, "avg_line_length": 35, "alnum_prop": 0.8603174603174604, "repo_name": "quarkusio/quarkus", "id": "1d5718c9c85c419f39c8dbc33bd4a8d179bd16c4", "size": "315", "binary": f...
#pragma checksum "C:\Users\John Best\Documents\FIBOTICS\InfoGateway\FIBotics\WinEcho\WinEcho\Views\EchoPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "09F9D5A717635F4A9A854E79B512EECA" //------------------------------------------------------------------------------ // <auto-generated> // This code was generat...
{ "content_hash": "905d734b5dcaa2fa248f7bd54e6e620c", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 190, "avg_line_length": 39.81927710843374, "alnum_prop": 0.5059001512859304, "repo_name": "github-big-cu/WinEcho", "id": "f363e378f1d6f458ce7e0a714364ad98e9c1e9b4", "size":...
#ifndef _IGNITE_ODBC_UTILITY #define _IGNITE_ODBC_UTILITY #ifdef min # undef min #endif //min #include <stdint.h> #include <ctime> #include <string> #include <algorithm> #include <ignite/common/utils.h> #include "ignite/impl/binary/binary_reader_impl.h" #include "ignite/impl/binary/binary_writer_impl.h" #incl...
{ "content_hash": "09b553d39c9e90e2f7d27679013efd00", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 102, "avg_line_length": 28.812121212121212, "alnum_prop": 0.5488010096760623, "repo_name": "f7753/ignite", "id": "b2a1639f4e84bf30ad9646fc5cb7080ca45926e0", "size": "5556"...
package ch.scaille.tcwriter.server.services; import ch.scaille.tcwriter.server.dto.Context; import ch.scaille.tcwriter.server.dto.Identity; import ch.scaille.util.helpers.JavaExt.AutoCloseableNoException; public interface ContextService { AutoCloseableNoException set(Context context); Context get(); Context m...
{ "content_hash": "e8cc3de7f685f9a49610fe1cdde425f5", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 64, "avg_line_length": 23.294117647058822, "alnum_prop": 0.8106060606060606, "repo_name": "sebastiencaille/sky-lib", "id": "38193b72b09cb4eaf6569c44327fe7faf7c66ecf", "size...
.class public abstract Lcom/google/android/gms/internal/bc$a; .super Landroid/os/Binder; # interfaces .implements Lcom/google/android/gms/internal/bc; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/android/gms/internal/bc; .end annotation .annotation system Ldalvik/annot...
{ "content_hash": "f7955fee4128b55a1942282e7e71b652", "timestamp": "", "source": "github", "line_count": 473, "max_line_length": 257, "avg_line_length": 25.84566596194503, "alnum_prop": 0.6948057259713701, "repo_name": "mmmsplay10/QuizUpWinner", "id": "c6eea8d29d4cfa5bec52d43621db1f5a306fd487", "siz...
class UserDecorator < Draper::Decorator decorates :user include Draper::LazyHelpers def contributions_text if source.total_contributed_projects == 2 I18n.t('user.contributions_text.two') elsif source.total_contributed_projects > 1 I18n.t('user.contributions_text.many', total: (source.total_co...
{ "content_hash": "95e1c149f6abb357a3d81159a90931fe", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 90, "avg_line_length": 27.743589743589745, "alnum_prop": 0.69362292051756, "repo_name": "Nyxelio/crowdfunding-project", "id": "1a9e7eb854e2244e20296c644af5361fb463ba51", "s...
redis-backup ============ a small ruby gem that allows automated redis RDB-file backups with support for compression and S3 uploading. Installation ============ gem install redis-backup Usage ===== redis-backup [options] Specific options: -b, --backup-dir BACKUP_DIR Directory to write back...
{ "content_hash": "fd314462ccee2983aae99858678f8bc9", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 108, "avg_line_length": 38.21875, "alnum_prop": 0.5633687653311529, "repo_name": "josegonzalez/ruby-redis-backup", "id": "5d56d95d70227dca7ceb56ef46b90f79a5746f95", "size":...
import { expect } from 'chai' import _unescape from '../../src/utility/_unescape' describe('_unescape', function() { it('is a function', function() { expect(_unescape).to.be.a('function') }) context('1 string argument', function() { it('returns a string', function() { expect(typeof _unescape('cor...
{ "content_hash": "58aceb203fc813fbb6548651a14d22e6", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 96, "avg_line_length": 31.25423728813559, "alnum_prop": 0.6003253796095445, "repo_name": "jrpool/js-utility-underscore", "id": "593aee3848f5ba09ab23794183c040f814617c6a", "...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" android:l...
{ "content_hash": "633b025250ffb0ba4307fbacb740b291", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 74, "avg_line_length": 34.46153846153846, "alnum_prop": 0.6919642857142857, "repo_name": "pchmn/RxSocialAuth", "id": "17b4833e85321e3b68684d763e6804594e5eb1fd", "size": "44...
<h1>SDLUnsubscribeButton Class Reference</h1> <h3>Section Contents</h3> <ul> <li><a href="#section--init">-init</a></li> <li><a href="#section--initWithDictionary:">-initWithDictionary:</a></li> <li><a href="#section--initWithButtonName:">-initWithButtonName:</a></li> <li><a href="#section-buttonName">buttonN...
{ "content_hash": "c5edf36796451f1e5045f773e0c02d16", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 428, "avg_line_length": 34.99065420560748, "alnum_prop": 0.6501068376068376, "repo_name": "davidswi/sdl_ios", "id": "85090973c50d325bc6765189370f412c98361b4d", "size": "37...
using namespace json_spirit; using namespace std; void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeHex) { txnouttype type; vector<CTxDestination> addresses; int nRequired; out.push_back(Pair("asm", scriptPubKey.ToString())); if (fIncludeHex) out.push_back(Pair...
{ "content_hash": "c5320fab32520191b65982da129f1d62", "timestamp": "", "source": "github", "line_count": 741, "max_line_length": 171, "avg_line_length": 43, "alnum_prop": 0.5435144211154003, "repo_name": "Prototanium/Pr", "id": "334e4edf6de0b6db0f947674352c942eabe28438", "size": "32553", "binary":...
TransparentActivity =================== A transparent activity for Android
{ "content_hash": "19217d1abbeac18203e8d981208a00c7", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 34, "avg_line_length": 19, "alnum_prop": 0.6447368421052632, "repo_name": "jiahaoliuliu/TransparentActivity", "id": "5c28dd6dbabb0d652a4250d75140333480b73546", "size": "76",...
$(document).ready(function () { $('#results').empty; var userID = localStorage['userID']; var Snapster; var playlists = []; // $("#filename").focus(function (event) { $('#infoHeader').empty(); $('#infoHeader').append("Upcoming Songs"); $.ajax({ type: "GET", url: "https://...
{ "content_hash": "23d09b8266943427734c29d45574f443", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 205, "avg_line_length": 44.2, "alnum_prop": 0.43529411764705883, "repo_name": "univthink/lilsnapppy", "id": "fc61fc62b36662a27764836d5a579277467ae2a9", "size": "2210", "b...
title: Google Fiber Won’t Be Available for Small Businesses… Yet date: 2013-10-10 10:55:31 -05:00 tags: - Google layout: post custom_type: link link_url: http://thenextweb.com/google/2013/10/10/google-promises-fiber-for-small-businesses-in-the-future-but-you-can-use-the-isp-if-you-work-from-home/ --- >Google today dec...
{ "content_hash": "65fac94c1616453443d9b3d1fed777cb", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 264, "avg_line_length": 51.55555555555556, "alnum_prop": 0.7790948275862069, "repo_name": "smithtimmytim/brightlycolored.org", "id": "8a5b3dc96ff0c8877a9081bfde86a7e14155524b...
End of preview.

No dataset card yet

Downloads last month
1