'Can't launch spyder in Ubuntu 21.10

I have installed Ubuntu 21.10 on a virtual machine and installed anaconda3 on it. But when I input spyder in terminal, some errors will occur enter image description here. So how can I solve this problem? Thanks for your help.



Solution 1:[1]

you can select one column, e.g. DF["name"] or DF.name and multiple columns by passing a list, e.g. DF[["name", "marks"]].

Be careful with the DF.name notation as it doesn't work when the column name has special characters, e.g. whitespaces.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Florian