# TDataServer <-> array conversion This section describes how to convert a `TDataServer` into a `numpy.array` and vice-versa. A breakdown of the macro show below can be found in [](#use_cases_howto_py_tds_array_py) {{ "```{literalinclude} " + parent_dir + "/roottest/uranie/doc/overview/use_cases/python/howtoConvertTDataServerArray.py\n" + ":language: python\n" + ":lines: 1-5,11-40\n" + "```" }} The macro shown above, is an example of how to convert the content stored in a `TDataServer` and its result is discussed in [](#use_cases_howto_py_tds_array_py).