0

I get this error when doing the following pyspark.pandas dataframe operation:

billplan.loc[billplan.SEQ_NO < billplan.MAX_SEQ_NO, 'GA_TYPE'] = 'RE-CONTRACT'

where billplan.SEQ_NO and billplan.MAX_SEQ_NO are both of type

|-- SEQ_NO: decimal(38,0) (nullable = true)
|-- MAX_SEQ_NO: decimal(38,0) (nullable = true)

How should I do this comparison?

Ee Ann Ng
  • 109
  • 1
  • 8

0 Answers0