
PyBox is the Python IDE I build. Everything below works with it, and the steps are the same ideas you would use anywhere. Get it on Google Play.
Install
numpy
pandas
matplotlib
Put those names in requirements.txt and tap Sync Project, or run pip install numpy pandas matplotlib in the terminal. Because they are prebuilt for Android, they install in seconds.
A short example
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
rng = np.random.default_rng(1)
days = pd.date_range("2026-01-01", periods=180, freq="D")
sales = pd.Series(50 + rng.normal(0, 4, len(days)).cumsum(), index=days)
monthly = sales.resample("MS").mean()
print(monthly.round(1))
ax = sales.plot(figsize=(8, 4), label="daily")
monthly.plot(ax=ax, marker="o", label="monthly")
ax.legend()
plt.show()
Run it as a script and the figure opens in a window on the X11 desktop. In a notebook it appears under the cell.
Tips for a phone
- Work on samples of big files first.
- Use
float32where precision allows. - Close figures with
plt.close()in loops. - Use a notebook when you want to explore, a script when you want to repeat.
See the list of supported libraries.
Questions
Can I install pandas on Android?
Yes. PyBox provides prebuilt Android wheels for pandas, NumPy and Matplotlib, so pip downloads binaries instead of compiling.