Skip to main content

Fieldwork

Make sense of unfamiliar tables before you start analyzing them. Fieldwork is a Python toolkit for researchers working with pandas: see how records fit together, investigate surprising patterns, and decide what to explore next.

A dataset often arrives as one large export, with repeated records, unevenly filled columns, and little explanation of how it was assembled. Before choosing what to count or compare, you need to understand what each row represents. Fieldwork helps you build that understanding and follow what you find back to the records themselves.

See how the table fits together

A laboratory export might mix information about people, samples, instruments, and measurements across dozens of columns. In the example below, those relationships are buried in 960 rows and 43 columns. Starting with identifiers such as participant and specimen IDs, Fieldwork builds a map that helps you see which details belong together and where repeated measurements enter the picture.

A map of a laboratory table: participants connect to specimens, instruments and assays connect to runs, and the branches meet at specimen measurements

That gives you a starting point for deciding how to group the data, what to count, and which records deserve a closer look. Try the laboratory example to build this map yourself from synthetic data.

Follow the questions that emerge

  • Get your bearings. Find groups of fields that appear together and identify how records repeat across the table.
  • Investigate a surprise. Follow a pattern to the rows that support it or the exceptions that need explaining.
  • Narrow your focus. Explore a particular site, group, or subset to understand how it differs from the rest of the data.
  • Build on what you learn. Share findings and figures, save an investigation, and revisit it when the next delivery arrives.

Start with your own data

pip install fieldwork

Load a table and get an overview of patterns worth exploring:

import pandas as pd
import fieldwork as fw

df = pd.read_csv("your-data.csv")
overview = fw.explore(df)
print(overview)

For large tables, use fw.explore(df, progress=True) to see the current phase, completed work, and elapsed time in a terminal or notebook.

Follow the first investigation to go from an overview to examining individual records, or work through the guided notebook. The documentation covers the tools you can use as your questions become more specific.

Fieldwork 0.1.1 is an alpha release for Python 3.11–3.14, with pandas and NumPy as its only required runtime dependencies.

See the 0.1.1 release notes for progress controls, work budgets, compact exports, and dependency coverage and repeated support.

For contributing and local setup, see the developer documentation. Fieldwork is MIT licensed; see NOTICE for project provenance.

Metadata

Release files for fieldwork 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fieldwork 0.1.1
File Size Uploaded Provenance
fieldwork-0.1.1.tar.gz 1.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fieldwork 0.1.1
File Interpreter ABI Platform
fieldwork-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.4 MB

Release files / fieldwork-0.1.1.tar.gz

Download URL fieldwork-0.1.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
3ac70cf74db365bcbb5b224c5372c3523ff3e34f1c81cf3648e21121524eaaee
BLAKE2b-256 checksum
How to use checksums
f58f01b9e4ea46ec0ebeab94a2142503d910be1c0f9c484fb0d693fffc2e22d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / fieldwork-0.1.1-py3-none-any.whl

Download URL fieldwork-0.1.1-py3-none-any.whl
Size 131.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99622ed4180a01d72aea9bd1fb9569cc12b9337b70d65f4e960f1144bf89b2b6
BLAKE2b-256 checksum
How to use checksums
0308d527a8a7f71fca61fdd96b116d1dbf2958449ab33b86fe6d20bdcb14fabe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for fieldwork 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page