You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: man/data.table.Rd
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -231,6 +231,12 @@ A \code{data.table} is a \code{list} of vectors, just like a \code{data.frame}.
231
231
232
232
See the \code{see also} section for the several other \emph{methods} that are available for operating on data.tables efficiently.
233
233
234
+
235
+
A \code{data.table} supports joins on columns of type \code{complex}. The join logic is as follows:
236
+
\itemize{
237
+
\item If a \code{complex} column contains values with only a zero imaginary part (e.g., \code{10+0i}), it is treated as a \code{double} for the join, allowing it to match with \code{integer} and \code{double} columns successfully.
238
+
\item If any value in a \code{complex} join column has a non-zero imaginary part (e.g., \code{10+2i}), the join will stop with an error, as there is no defined way to sort or match such a number against a real number.
0 commit comments