Question: I have two data frame like below, I would like to compare value of these table together (based on same rows and colnames) and specified same values with TRUE otherwise with FALSE.

```
data1:

      id              A               B              C
      m1              2               2              2
      m2              2               1              2

data2:

      id              A               D              B
      m1              1               2              2
      m2              2               3              2

Output:

      id                  A             B
      m1              FALSE          TRUE
      m2              TRUE          FALSE

```

Answer: 
**Update 2020:**

For those using the CDN listed on their readme, i.e. `https://unpkg.com/rxjs/bundles/rxjs.umd.min.js`. 

The developers must have changed the global namespace for rxjs from `Rx` to `rxjs`, so use `rxjs` instead of `Rx`,

```
var obs = rxjs.Observable.interval(500)
       .take(5)
       .do(i => console.log(i) );

```

For more information, read the [rxjs's README.md](https://www.npmjs.com/package/rxjs?ml_subscriber=1391315501082219548&ml_subscriber_hash=i9s6&utm_source=newsletter&utm_medium=email&utm_campaign=learn_rxjs_v6_now_subjects_testing_marbles_operators_advanced_uses_more&utm_term=2020-04-03)
1. npm install rxjs

*counter.ts*

```
import {Observable} from 'rxjs/Observable';
import 'rxjs/add/observable/interval';

// To get the typescript compiler to recognise Rx.* execute.
// npm install @types/rx --save-dev

let obs = Observable.interval(1000);

obs.subscribe(value => console.log("Subscriber: " + value));

```

2. tsc counter.ts
3. node counter.js

Subscriber: 0

Subscriber: 1

Subscriber: 2

^C