Skip to content

Commit

Permalink
Update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Nov 8, 2023
1 parent c970d47 commit aa15afe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/notebooks/import_catalogs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
" catalog_name=catalog_from_dataframe,\n",
" catalog_type=\"object\",\n",
" highest_order=5,\n",
" threshold=100\n",
" threshold=100,\n",
" append_partition_info=True\n",
")\n",
"\n",
"# Save it to disk in HiPSCat format\n",
Expand Down Expand Up @@ -281,7 +282,7 @@
"# Verify that pixels are similar\n",
"assert from_dataframe_catalog.get_healpix_pixels() == from_importer_catalog.get_healpix_pixels()\n",
"# Verify that resulting dataframes contain the same data\n",
"# pd.testing.assert_frame_equal(from_dataframe_catalog._ddf.compute(), from_importer_catalog._ddf.compute())"
"pd.testing.assert_frame_equal(from_dataframe_catalog.compute().sort_index(), from_importer_catalog.compute().sort_index(), check_dtype=False)"
]
}
],
Expand Down

0 comments on commit aa15afe

Please sign in to comment.