Let $z$ be a complex variable and $f(z)$ be a formal power series with rational coefficients (an element in $\mathbb Q[[z]]$), with a finite radius of convergence, and assume $f(z)$ has a meromorphic continuation to the whole complex plane (so it has at most countably many poles). What do we know about the number-theoretic property of the roots and poles? Are they algebraic numbers? If they are, are they stable under the action of the Galois group of the rationals?

More generally, if the coefficients of $f(z)$ are algebraic numbers, and let $\sigma$ be an automorphism of the algebraic closure of the rationals, then what is the relation between roots of $f(z)$ and roots of $f^{\sigma}(z),$ where $f^{\sigma}(z)$ is the power series obtained by applying sigma to the coefficients of $f(z)?$

Without assuming the finiteness of radius of convergence, $\sin(z)$ gives a counter-example.

**Edit**: Let me give a second try, by imposing more requirements on $f(z).$ I'm thinking about the case where $f(z)$ is the zeta function of an algebraic stack over a finite field, so let's assume $f(z)$ has an infinite product expansion over $\ell$-adic numbers, like $\prod P_{odd}(z)/\prod P_{even}(z),$ where each $P_i(z)$ is a polynomial over $\mathbb Q_{\ell}$ with constant term 1. Assume they have distinct weights, e.g. reciprocal roots of $P_i(z)$ have weights $i.$ Then can we conclude that all coefficients of $P_i(z)$ are rational numbers? Thanks.