How to apply a self defined function in Pandas
Karsten Hilbert
Karsten.Hilbert at gmx.net
Sun Oct 31 15:59:36 EDT 2021
Am Sun, Oct 31, 2021 at 07:52:18PM +0000 schrieb Shaozhong SHI:
> Well, can you expand the the simplicity?
Not sure how expanding is going to help but here's one way to
do it:
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> list('simplicity')
['s', 'i', 'm', 'p', 'l', 'i', 'c', 'i', 't', 'y']
>>>
Best,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B
More information about the Python-list
mailing list