Activities in Organize and Clean Data
5 activities · 1 phase
| # | Name | Abbrev. | Guidance | Dependencies | Actions |
|---|---|---|---|---|---|
|
Explore Data and Find Signal
5
|
|||||
| 1 | Load selected datasets into DataFrames | ODA-1 | Read each selected catalog dataset into a pandas Series/DataFrame using the appropriate reader (read_csv with … | ||
| 2 | Inspect structure | ODA-2 | Immediately after loading, check .head()/.tail(), len(), .shape, .dtypes, .index, .columns (and .ndim for any raw … | ||
| 3 | Handle missing and invalid data | ODA-3 | Detect gaps with isnull()/notnull(). Then choose deletion (dropna(), whole rows/columns only), imputation (constant/mean via masked … | ||
| 4 | Combine and deduplicate datasets | ODA-4 | If two selected datasets are complementary (different variables, shared key), pd.merge()/.join() them; if they're similar-schema … | ||
| 5 | Reshape data for the framing questions | ODA-5 | Convert between long ("tidy") and wide ("square") layouts with stack()/unstack()/pivot(), and build a hierarchical (multi-index) … | ||