This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [44]: df | |
Out[44]: | |
a b | |
0 1 2 | |
1 2 3 | |
2 3 4 | |
In [45]: renamed = df.rename(columns={'b': 'c'}) | |
In [46]: renamed.iloc[0, 0] = 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
$ python loop.py | |
Body: 0 | |
Body: 1 | |
Body: 2 | |
Body: 3 | |
Body: 4 | |
Skipping 5 | |
Body: 6 | |
Body: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
$ python example.py | |
1 + 1 is 2 | |
""" | |
from types import FunctionType | |
from codetransformer import Code | |
import codetransformer.instructions as instrs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gevent | |
import gevent.pool | |
import gevent.event | |
import gevent.socket | |
import gevent.monkey | |
gevent.monkey.patch_all() | |
class UnhappyEyeballs(Exception): | |
pass |
OlderNewer