I hereby claim:
- I am saswatpadhi on github.
- I am padhi (https://keybase.io/padhi) on keybase.
- I have a public key ASCi4tm76_M91c7M0N2a2x_ye5uYFrO7O6jOZpVenHjjFQo
To claim this, I am signing this object:
| # Comparing solutions for: https://stackoverflow.com/questions/57928364/pandas-and-tuple-check/57928434#57928434 | |
| import random | |
| import string | |
| import pandas as pd | |
| def rnd_str(l): | |
| letters = string.ascii_lowercase | |
| return ''.join(random.choice(letters) for i in range(l)) |
| # https://stackoverflow.com/a/56844986/554436 | |
| def test(s): | |
| d = {"foo": "foo", "bar": "bar"} | |
| return d.get(s) | |
| if __name__ == '__main__': | |
| from dis import dis | |
| from timeit import timeit |
I hereby claim:
To claim this, I am signing this object:
| 1898 | |
| 1900 | |
| 1877 | |
| 1875 | |
| 1877 | |
| 1870 | |
| ? | |
| 1870 | |
| 1877 | |
| 1859 |
| #/*<?php eval('echo "PHP Code\n";'); __halt_compiler();?> */ | |
| #include <stdio.h> /* | |
| print ((("b" + "0" == 0) and eval('"Perl Code\n"')) or (0 and "Ruby Code\n" or "Python Code")); | |
| __DATA__ = 1 | |
| """"" | |
| __END__ |