Skip to content

Instantly share code, notes, and snippets.

@aplavin
Last active December 19, 2021 09:30
Show Gist options
  • Save aplavin/98095b531ccc8648c93f8414d5e45121 to your computer and use it in GitHub Desktop.
Save aplavin/98095b531ccc8648c93f8414d5e45121 to your computer and use it in GitHub Desktop.
### A Pluto.jl notebook ###
# v0.17.3
using Markdown
using InteractiveUtils
# ╔═╡ a82179a6-fcf5-4a95-9b11-e4e339b797ae
using Tables
# ╔═╡ 2b598cdf-9ffc-4757-a9ac-d30d23ce9eae
# ╔═╡ 55cc8eb7-fd31-4950-bc24-8497043b0a4e
struct S end
# ╔═╡ 12587f04-d10d-466d-b7ac-98c29f32d75b
Tables.istable(::S) = true
# ╔═╡ 1375294c-ef18-4b5b-8828-bea28e1aa62c
Tables.columnaccess(::S) = true
# ╔═╡ 0d2b9f4d-0b82-464e-a343-1bfb26c8bf54
Tables.columns(::S) = (a=rand(10),)
# ╔═╡ c19ae837-47c0-493b-9441-3f6115a2be41
# ╔═╡ 53e951f6-422e-4059-be7d-6321bd4e07d9
columntable(S())
# ╔═╡ b1d60973-87b6-450b-a9a9-760b88e9dd45
rowtable(S())
# ╔═╡ 00000000-0000-0000-0000-000000000001
PLUTO_PROJECT_TOML_CONTENTS = """
[deps]
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
[compat]
Tables = "~1.6.0"
"""
# ╔═╡ 00000000-0000-0000-0000-000000000002
PLUTO_MANIFEST_TOML_CONTENTS = """
# This file is machine-generated - editing it directly is not advised
julia_version = "1.7.0-rc1"
manifest_format = "2.0"
[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
[[deps.Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
[[deps.CompilerSupportLibraries_jll]]
deps = ["Artifacts", "Libdl"]
uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae"
[[deps.DataAPI]]
git-tree-sha1 = "cc70b17275652eb47bc9e5f81635981f13cea5c8"
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
version = "1.9.0"
[[deps.DataValueInterfaces]]
git-tree-sha1 = "bfc1187b79289637fa0ef6d4436ebdfe6905cbd6"
uuid = "e2d170a0-9d28-54be-80f0-106bbe20a464"
version = "1.0.0"
[[deps.InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
[[deps.IteratorInterfaceExtensions]]
git-tree-sha1 = "a3f24677c21f5bbe9d2a714f95dcd58337fb2856"
uuid = "82899510-4779-5014-852e-03e436cf321d"
version = "1.0.0"
[[deps.Libdl]]
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
[[deps.LinearAlgebra]]
deps = ["Libdl", "libblastrampoline_jll"]
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
[[deps.Logging]]
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
[[deps.Markdown]]
deps = ["Base64"]
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
[[deps.OpenBLAS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "Libdl"]
uuid = "4536629a-c528-5b80-bd46-f80d51c5b363"
[[deps.Random]]
deps = ["Serialization"]
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
[[deps.Serialization]]
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
[[deps.TableTraits]]
deps = ["IteratorInterfaceExtensions"]
git-tree-sha1 = "c06b2f539df1c6efa794486abfb6ed2022561a39"
uuid = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c"
version = "1.0.1"
[[deps.Tables]]
deps = ["DataAPI", "DataValueInterfaces", "IteratorInterfaceExtensions", "LinearAlgebra", "TableTraits", "Test"]
git-tree-sha1 = "fed34d0e71b91734bf0a7e10eb1bb05296ddbcd0"
uuid = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
version = "1.6.0"
[[deps.Test]]
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[[deps.libblastrampoline_jll]]
deps = ["Artifacts", "Libdl", "OpenBLAS_jll"]
uuid = "8e850b90-86db-534c-a0d3-1478176c7d93"
"""
# ╔═╡ Cell order:
# ╠═a82179a6-fcf5-4a95-9b11-e4e339b797ae
# ╠═2b598cdf-9ffc-4757-a9ac-d30d23ce9eae
# ╠═55cc8eb7-fd31-4950-bc24-8497043b0a4e
# ╠═12587f04-d10d-466d-b7ac-98c29f32d75b
# ╠═1375294c-ef18-4b5b-8828-bea28e1aa62c
# ╠═0d2b9f4d-0b82-464e-a343-1bfb26c8bf54
# ╠═c19ae837-47c0-493b-9441-3f6115a2be41
# ╠═53e951f6-422e-4059-be7d-6321bd4e07d9
# ╠═b1d60973-87b6-450b-a9a9-760b88e9dd45
# ╟─00000000-0000-0000-0000-000000000001
# ╟─00000000-0000-0000-0000-000000000002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment