jupytext: formats: ipynb,.pct.py:percent,.lgt.py:light,.spx.py:sphinx,md,Rmd,.pandoc.md:pandoc,.myst.md:myst text_representation: extension: '.md' format_name: myst format_version: '0.7' jupytext_version: 1.4.0+dev kernelspec: display_name: Python 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/agoose77/e1567e9c7ee328c2da9b2a81dc9c1c7d | |
from __future__ import annotations | |
from collections.abc import Iterator | |
import awkward_katai as ak_ka | |
import awkward as ak | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import uproot.reading | |
import asyncio | |
import struct | |
import urllib.request | |
from collections.abc import Callable | |
from typing import Protocol, Final, NamedTuple, TypeVar, TypeAlias, Any | |
import aiohttp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:01:28 From Kilian Lieret To Everyone: | |
https://indico.cern.ch/event/1317785/ | |
16:02:20 From Kilian Lieret To Everyone: | |
https://docs.google.com/document/d/1YfELjDItYuT10g_FNgAU7emrpVkmjVapkJpgg4oRtE0/edit?usp=sharing | |
16:10:08 From Wouter Deconinck (he/him) To Everyone: | |
Would snippets be maintained somehow? A builtin test with CI? | |
16:10:26 From Angus Hollands (he/him) To Everyone: | |
^ I think that should/could extend to all columns | |
16:11:25 From Wouter Deconinck (he/him) To Everyone: | |
True, but snippets sound more ephemeral... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "Awkward Array Form Schema", | |
"definitions": { | |
"Primitive": { | |
"oneOf": [ | |
{ | |
"type": "string", | |
"enum": [ | |
"bool", |
jupytext: text_representation: extension: .md format_name: myst format_version: 0.13 jupytext_version: 1.15.0 kernelspec: display_name: Python 3 (ipykernel) language: python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Move option outside record | |
structured = ak.zip( | |
dict(zip( | |
ak.fields(log), | |
ak.unzip(log) | |
)), | |
optiontype_outside_record=True | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE | |
__all__ = ("join",) | |
import awkward as ak | |
from awkward._behavior import behavior_of | |
from awkward._dispatch import high_level_function | |
from awkward._layout import wrap_layout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import awkward as ak | |
import numpy as np | |
import numba as nb | |
@nb.njit() | |
def _strings_in_strings_kernel(needle, haystack): | |
result = np.empty(len(needle), np.bool_) |