operation with series - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Homework (https://python-forum.io/forum-9.html) +--- Thread: operation with series (/thread-18641.html) |
operation with series - elmismo999 - May-25-2019 Hello, if I have 2 series: Serie1 Name Number ---- ------ a 10 b 20 c 30 Serie2 Name Number ---- ------ a 5 b 30 c 100 I would like to have a result serie with the following condition : 1) Just positve Diff between Serie2 - Serie1 2) Order the result desc Result Name Number ---- ------ c 70 b 10 Thank You - RE: operation with series - ichabod801 - May-25-2019 What have you tried? We're not big on writing code for people here, but we would be happy to help you fix your code when you run into problems. When you do run into problems, please post your code in Python tags, and clearly explain the problem you are having, including the full text of any errors. |