nushell/docs/commands/dfr_join.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

632 B

title layout version
dfr join command 0.59.0

Joins a dataframe using columns as reference

Signature

> dfr join (dataframe) --left --right --type --suffix

Parameters

  • dataframe: right dataframe to join
  • --left {table}: left column names to perform join
  • --right {table}: right column names to perform join
  • --type {string}: type of join. Inner by default
  • --suffix {string}: suffix for the columns of the right dataframe

Examples

inner join dataframe

> let right = ([[a b c]; [1 2 5] [3 4 5] [5 6 6]] | dfr to-df);
    $right | dfr join $right -l [a b] -r [a b]