Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

Ubuntu 22.04 syntax warning importing Pandas

$
0
0

I have installed Python 3.12 in Ubuntu 22.04 alongside the system Python 3.10. It works as expected as do packages such as Numpy. However after installing Pandas 2.2.2 the line import pandas as pd produces the warning message below. Pandas still then works as expected with Python 3.12. Why does this happen and what should I do?

/usr/lib/python3/dist-packages/pytz/__init__.py:31: SyntaxWarning: invalid escape sequence '\s'  match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)

Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>