@@ -176,7 +176,7 @@ def _json_normalize(
176
176
... 'fitness': {'height': 130, 'weight': 60}},
177
177
... {'id': 2, 'name': 'Faye Raker',
178
178
... 'fitness': {'height': 130, 'weight': 60}}]
179
- >>> json_normalize(data, max_level=0)
179
+ >>> pandas. json_normalize(data, max_level=0)
180
180
fitness id name
181
181
0 {'height': 130, 'weight': 60} 1.0 Cole Volk
182
182
1 {'height': 130, 'weight': 60} NaN Mose Reg
@@ -191,7 +191,7 @@ def _json_normalize(
191
191
... 'fitness': {'height': 130, 'weight': 60}},
192
192
... {'id': 2, 'name': 'Faye Raker',
193
193
... 'fitness': {'height': 130, 'weight': 60}}]
194
- >>> json_normalize(data, max_level=1)
194
+ >>> pandas. json_normalize(data, max_level=1)
195
195
fitness.height fitness.weight id name
196
196
0 130 60 1.0 Cole Volk
197
197
1 130 60 NaN Mose Reg
@@ -208,7 +208,7 @@ def _json_normalize(
208
208
... 'info': {'governor': 'John Kasich'},
209
209
... 'counties': [{'name': 'Summit', 'population': 1234},
210
210
... {'name': 'Cuyahoga', 'population': 1337}]}]
211
- >>> result = json_normalize(data, 'counties', ['state', 'shortname',
211
+ >>> result = pandas. json_normalize(data, 'counties', ['state', 'shortname',
212
212
... ['info', 'governor']])
213
213
>>> result
214
214
name population state shortname info.governor
@@ -219,7 +219,7 @@ def _json_normalize(
219
219
4 Cuyahoga 1337 Ohio OH John Kasich
220
220
221
221
>>> data = {'A': [1, 2]}
222
- >>> json_normalize(data, 'A', record_prefix='Prefix.')
222
+ >>> pandas. json_normalize(data, 'A', record_prefix='Prefix.')
223
223
Prefix.0
224
224
0 1
225
225
1 2
0 commit comments