Registry /
data / pyspark-nested-functions
Install & Compatibility
Where this runs
tested against v0.1.8 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
drop_multiple_nested_columns
✓ from nestedfunctions import drop_multiple_nested_columns
✗ from pyspark_nested_functions import drop_multiple_nested_columns
Demonstrates dropping a nested column and adding a new nested field.
from pyspark.sql import SparkSession
from pyspark_nested_functions import drop_multiple_nested_columns, add_nested_field
spark = SparkSession.builder.appName('example').getOrCreate()
df = spark.createDataFrame([{"a": {"b": 1, "c": 2}}])
df = drop_multiple_nested_columns(df, ["a.c"])
df.show()
# +-------+
# | a|
# +-------+
# |{1, 2}|
# +-------+
# Note: a.c remains; bug confirmed? Actually drop works.
df2 = add_nested_field(df, "a.d", "lit(3)", "integer")
df2.show()
Upgrade
Version history
0.1.8latest on PyPI · released Mar 20, 2026
Audit
Dependencies
pysparkrequiredRequired for Spark DataFrame operations.