File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
142
142
-i " pandas.infer_freq SA01" \
143
143
-i " pandas.io.json.build_table_schema PR07,RT03,SA01" \
144
144
-i " pandas.io.stata.StataWriter.write_file SA01" \
145
- -i " pandas.json_normalize RT03,SA01" \
146
145
-i " pandas.plotting.andrews_curves RT03,SA01" \
147
146
-i " pandas.plotting.scatter_matrix PR07,SA01" \
148
147
-i " pandas.set_eng_float_format RT03,SA01" \
Original file line number Diff line number Diff line change @@ -279,6 +279,10 @@ def json_normalize(
279
279
"""
280
280
Normalize semi-structured JSON data into a flat table.
281
281
282
+ This method is designed to transform semi-structured JSON data, such as nested
283
+ dictionaries or lists, into a flat table. This is particularly useful when
284
+ handling JSON-like data structures that contain deeply nested fields.
285
+
282
286
Parameters
283
287
----------
284
288
data : dict, list of dicts, or Series of dicts
@@ -310,8 +314,13 @@ def json_normalize(
310
314
311
315
Returns
312
316
-------
313
- frame : DataFrame
314
- Normalize semi-structured JSON data into a flat table.
317
+ DataFrame
318
+ The normalized data, represented as a pandas DataFrame.
319
+
320
+ See Also
321
+ --------
322
+ DataFrame : Two-dimensional, size-mutable, potentially heterogeneous tabular data.
323
+ Series : One-dimensional ndarray with axis labels (including time series).
315
324
316
325
Examples
317
326
--------
You can’t perform that action at this time.
0 commit comments