title: How can I filter the lists within the lists by ids python?
body: <p>I am getting data like this. Deposits from lists in this data should not be in other lists. How can I filter this list like this. Incoming data does not always have a specific index, number of deposits or withdrawals.</p>
  <pre><code>fakeData = [
      {
      'withId': 1232131212312, 'withAmount': 500, 
      'deposits': [{'id': 12321312312, 'type': 'deposit', 'amount': 250, 'date': '15-05-22 - 17:00:00'}, {'id': 123213123112, 'type': 'deposit', 'amount': 500, 'date': '15-05-22 - 00:00:00'}]}, 
      {
      'withId': 12326571312312, 'withAmount': 130, 'deposits': [{'id': 12321312312, 'type': 'deposit', 'amount': 250, 'date': '15-05-22 - 17:00:00'}, {'id': 123213123112, 'type': 'deposit', 'amount': 500, 'date': '15-05-22 - 00:00:00'}]}, 
      {
      'withId': 12321356712312, 'withAmount': 120, 
      'deposits': [{'id': 123213123112, 'type': 'deposit', 'amount': 500, 'date': '15-05-22 - 00:00:00'}]
      }
  ]
  </code></pre>