Complexity of Merge function in pandas How can I calculate the time and space complexities of merge function in pandas? like this: