Skip to content

Commit

Permalink
[DOC] fix link in doc (#2944)
Browse files Browse the repository at this point in the history
I noticed a small error in documentation, looks like markdown style link
used mistakenly.

---------

Co-authored-by: ccmao1130 <[email protected]>
  • Loading branch information
amitschang and ccmao1130 authored Oct 7, 2024
1 parent 0c39007 commit 272163f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/migration_guides/coming_from_dask.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Daft does not use an index

Dask aims for as much feature-parity with pandas as possible, including maintaining the presence of an Index in the DataFrame. But keeping an Index is difficult when moving to a distributed computing environment. Dask doesn’t support row-based positional indexing (with .iloc) because it does not track the length of its partitions. It also does not support pandas MultiIndex. The argument for keeping the Index is that it makes some operations against the sorted index column very fast. In reality, resetting the Index forces a data shuffle and is an expensive operation.

Daft drops the need for an Index to make queries more readable and consistent. How you write a query should not change because of the state of an index or a reset_index call. In our opinion, eliminating the index makes things simpler, more explicit, more readable and therefore less error-prone. Daft achieves this by using the [Expressions API](../user_guide/expressions).
Daft drops the need for an Index to make queries more readable and consistent. How you write a query should not change because of the state of an index or a reset_index call. In our opinion, eliminating the index makes things simpler, more explicit, more readable and therefore less error-prone. Daft achieves this by using the :doc:`Expressions API <../api_docs/expressions>`.

In Dask you would index your DataFrame to return row ``b`` as follows:

Expand Down

0 comments on commit 272163f

Please sign in to comment.