Re: may I need a join here?

2022-01-24 Thread Gary Liu
You can use left anti join instead. isin accept a list type, not a column type. On Mon, Jan 24, 2022 at 01:38 Bitfox wrote: > >>> df.show(3) > > ++-+ > > |word|count| > > ++-+ > > | on|1| > > | dec|1| > > |2020|1| > > ++-+ > > only showing top 3 rows > > >

may I need a join here?

2022-01-23 Thread Bitfox
>>> df.show(3) ++-+ |word|count| ++-+ | on|1| | dec|1| |2020|1| ++-+ only showing top 3 rows >>> df2.show(3) ++-+ |stopword|count| ++-+ |able|1| | about|1| | above|1| ++-+ only showing