@@ -660,7 +660,7 @@ def drop(
660
660
>>> nf
661
661
a b nested
662
662
0 0.417022 0.184677 [{flux: 31.551563, band: 'r'}; …] (5 rows)
663
- 1 0.720324 0.372520 [{flux: 68.650093, band: 'g'}; …] (5 rows)
663
+ 1 0.720324 0.37252 [{flux: 68.650093, band: 'g'}; …] (5 rows)
664
664
2 0.000114 0.691121 [{flux: 83.462567, band: 'g'}; …] (5 rows)
665
665
3 0.302333 0.793535 [{flux: 1.828828, band: 'g'}; …] (5 rows)
666
666
4 0.146756 1.077633 [{flux: 75.014431, band: 'g'}; …] (5 rows)
@@ -984,7 +984,7 @@ def query(self, expr: str, *, inplace: bool = False, **kwargs) -> NestedFrame |
984
984
>>> nf
985
985
a b nested
986
986
0 0.417022 0.184677 [{t: 13.40935, flux: 98.886109, band: 'g'}; …]...
987
- 1 0.720324 0.372520 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
987
+ 1 0.720324 0.37252 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
988
988
2 0.000114 0.691121 [{t: 11.173797, flux: 28.044399, band: 'r'}; …...
989
989
3 0.302333 0.793535 [{t: 17.562349, flux: 1.828828, band: 'g'}; …]...
990
990
4 0.146756 1.077633 [{t: 17.527783, flux: 13.002857, band: 'r'}; …...
@@ -1168,7 +1168,7 @@ def dropna(
1168
1168
>>> nf
1169
1169
a b nested
1170
1170
0 0.417022 0.184677 None
1171
- 1 0.720324 0.372520 [{t: 19.365232, flux: 90.85955, band: 'r'}]
1171
+ 1 0.720324 0.37252 [{t: 19.365232, flux: 90.85955, band: 'r'}]
1172
1172
2 0.000114 0.691121 [{t: 19.157791, flux: 14.672857, band: 'r'}]
1173
1173
3 0.302333 0.793535 None
1174
1174
4 0.146756 1.077633 None
@@ -1177,7 +1177,7 @@ def dropna(
1177
1177
>>> # dropna removes rows with those emptied dataframes
1178
1178
>>> nf.dropna(subset="nested")
1179
1179
a b nested
1180
- 1 0.720324 0.372520 [{t: 19.365232, flux: 90.85955, band: 'r'}]
1180
+ 1 0.720324 0.37252 [{t: 19.365232, flux: 90.85955, band: 'r'}]
1181
1181
2 0.000114 0.691121 [{t: 19.157791, flux: 14.672857, band: 'r'}]
1182
1182
1183
1183
@@ -1188,15 +1188,15 @@ def dropna(
1188
1188
>>> nf.dropna(on_nested="nested")
1189
1189
a b nested
1190
1190
0 0.417022 0.184677 [{t: 8.38389, flux: 31.551563, band: 'r'}; …] ...
1191
- 1 0.720324 0.372520 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1191
+ 1 0.720324 0.37252 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1192
1192
2 0.000114 0.691121 [{t: 4.089045, flux: 83.462567, band: 'g'}; …]...
1193
1193
3 0.302333 0.793535 [{t: 17.562349, flux: 1.828828, band: 'g'}; …]...
1194
1194
4 0.146756 1.077633 [{t: 0.547752, flux: 75.014431, band: 'g'}; …]...
1195
1195
>>> # or on a specific nested column
1196
1196
>>> nf.dropna(subset="nested.t")
1197
1197
a b nested
1198
1198
0 0.417022 0.184677 [{t: 8.38389, flux: 31.551563, band: 'r'}; …] ...
1199
- 1 0.720324 0.372520 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1199
+ 1 0.720324 0.37252 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1200
1200
2 0.000114 0.691121 [{t: 4.089045, flux: 83.462567, band: 'g'}; …]...
1201
1201
3 0.302333 0.793535 [{t: 17.562349, flux: 1.828828, band: 'g'}; …]...
1202
1202
4 0.146756 1.077633 [{t: 0.547752, flux: 75.014431, band: 'g'}; …]...
@@ -1307,7 +1307,7 @@ def sort_values(
1307
1307
>>> nf.sort_values(by="nested.band")
1308
1308
a b nested
1309
1309
0 0.417022 0.184677 [{t: 13.40935, flux: 98.886109, band: 'g'}; …]...
1310
- 1 0.720324 0.372520 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1310
+ 1 0.720324 0.37252 [{t: 13.70439, flux: 68.650093, band: 'g'}; …]...
1311
1311
2 0.000114 0.691121 [{t: 4.089045, flux: 83.462567, band: 'g'}; …]...
1312
1312
3 0.302333 0.793535 [{t: 17.562349, flux: 1.828828, band: 'g'}; …]...
1313
1313
4 0.146756 1.077633 [{t: 0.547752, flux: 75.014431, band: 'g'}; …]...
0 commit comments