PythonForProgrammers
PythonForProgrammers copied to clipboard
Minor error in terminal when running the RollDieDynamic.py script.
trafficstars
I get this message when I run the RollDieDynamic.py script in the ch01 directory.
/usr/lib/python3.12/site-packages/seaborn/_base.py:948: FutureWarning: When grouping with a length-1 list-like, you will need to pass a length-1 tuple to get_group in a future version of pandas. Pass (name,) instead of name to silence this warning.
data_subset = grouped_data.get_group(pd_key)
It still runs and does what it does. As you can see, I am using Python 3.12.