Skip to content

Instantly share code, notes, and snippets.

View drorata's full-sized avatar

Dror Atariah drorata

View GitHub Profile
@drorata
drorata / demo.ipynb
Created February 14, 2025 21:02
Introduction to * and / in function signatures in Python
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo2.ipynb
Created November 17, 2024 07:35 — forked from dr-dror/demo2.ipynb
Playing around with Generic types
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo.ipynb
Created November 17, 2024 07:35 — forked from dr-dror/demo.ipynb
Compute utilization using PySpark
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo.ipynb
Created November 17, 2024 07:35 — forked from dr-dror/demo.ipynb
Example around mutable default values of functions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo.ipynb
Created November 17, 2024 07:34 — forked from dr-dror/demo.ipynb
Pivot a dataframe directly using Spark SQL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo.ipynb
Created November 17, 2024 07:34 — forked from dr-dror/demo.ipynb
Dataclasses highlights
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / demo.ipynb
Created November 17, 2024 07:33 — forked from dr-dror/demo.ipynb
Class vs. instance attributes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / notebook.ipynb
Created May 10, 2023 09:42
Spark comparing columns
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drorata
drorata / python-build.20230404093016.30887.log
Last active April 4, 2023 06:35
Fail to build 3.8.9 using Pyenv
/var/folders/y6/skpcb0d11fb0yknzv6934h480000gn/T/python-build.20230404093016.30887 ~/tmp
++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:334): http(): local method=get
++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:335): http(): '[' -n https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tar.xz ']'
++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:336): http(): shift 1
+++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:338): http(): detect_http_client
+++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:345): detect_http_clienlocal client
+++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:346): detect_http_clienfor client in aria2c curl wget
+++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:347): detect_http_clientype aria2c
+++(/opt/homebrew/Cellar/pyenv/2.3.16/plugins/python-build/bin/python-build:346): detect_http_clienfor client