Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vectorized division

    Hi All,

    I have the following dataset. test2=sums_of_squares_weight/total_passenger_perday_adjusted gives a desirable vectorized output. However, test1=total_passenger_perday/total_passenger_perday_adjusted gives a constant. I am not sure what is unique with columns 2 and 3. Could this be a bug?

    sums_of_squares_weight total_passenger_perday total_passenger_perday_adjusted test2 test1
    .0711111 61 183 .0003886 .3333333
    .0711111 61 183 .0003886 .3333333
    .0711111 61 183 .0003886 .3333333
    .0711111 14 42 .0016931 .3333333
    .0711111 14 42 .0016931 .3333333
    .0711111 14 42 .0016931 .3333333
    30.23162 5523 16569 .0018246 .3333333
    30.23162 5523 16569 .0018246 .3333333
    30.23162 5523 16569 .0018246 .3333333
    30.23162 2414 7242 .0041745 .3333333

    Any hint will be much appreciated!

  • #2
    It's not a bug, it is a fact.

    total_passengers_perday_adjusted = 3* total_passenger_perday
    Last edited by George Ford; 15 Oct 2021, 11:43.

    Comment


    • #3
      Thanks George

      Comment

      Working...
      X