Drawing an arc using pyqtgraph

I need to draw some shapes on the screen using pyqtgraph.
I chose pyqtgraph over matplotlib because the former is way faster when a lot of shapes are present.
For lines polygons everything is ok, since I can simply plot multiple straight lines.
But how can I represent efficiently an arc?

Edit a line in a file depending on user’s input | Python

I’m working on a contact book application to improve my python skill, so far I’ve created functions to add new contact, view existing contact, but I’m stuck on a function to edit them, I don’t know how to tackle this task (note that editing and adding information is based on user input), currently the only information this application is recording are name, phone number and/or email (if user entered an email).

creating multiple columns in a for loop python

I’m new to Python.
I’m trying to create multiple columns in a for loop but I’m having trouble with it.
I have several columns and I’m trying to create a new column that shows whether or not the elements in ohlcs is greater than elements in metrics. I can do it to create one column but I want to save time since I plan on doing the same function but for different variables.