Python Developer (@PythonDevelope3) header
Python Developer (@PythonDevelope3) profile picture

Python developer, 5+ years of experience

Beirut
Joined November 2018
Python Developer retweeted
Here's a list of startups that raised gazillions and failed this year; it might help you feel better about crypto shitcoinland. πŸ˜‚ My favorite: EZhome - subscription-based lawn-care services (raised $20M @ $102M valuation). πŸ‘ŒπŸ˜‚ inc.com/business-insider/25-…
3
24
2
52
Contribute to our fundraising drive by becoming a recurring supporting member. It's just $99/year. python.org/psf/donations/201… Please RT! #idonatedtothepsf #ijoinedthepsf
18
23
Python Developer retweeted
Open Source Software Foundations: Not Totally Boring, Actually Super Awesome – JonΒ Galloway technology-arena.com/index.p…
Python Developer retweeted
Your coding Job is ready and waiting! If you are a software developer, you are not allowed to be unemployed #learning #jobsearch #digitaltransformation lnkd.in/g9m-vbZ
1
3
Python Developer retweeted
Calling Software Engineers technology-arena.com/index.p…
Today marks new chapter in my life. I am excited to share some personal news and work updates facebook.com/ramy.raoof/post…
Does your project need BOTH Python and R? 1) Call R functions from Python with rpy2 and %R magic (https://teapawt.org/t.co/tl0rMsFMHJ) OR 2) Call Python functions from R using reticulate package (https://teapawt.org/t.co/AWo7df1u7B)
11
17
Print #Pandas Cheat Sheets: 1) basic operations: assets.datacamp.com/blog_ass… 2) tidy data & data wrangling: github.com/pandas-dev/pandas… #pythontip
15
45
list.sort() and sorted() accept key argument to specify a function which returns what you would like your items sorted by: mylst.sort(key = lambda x: x[-1]) sorted(mylst, key = lambda x: len(x))
2
16
1
41
#Pandas: If you know in advance which columns of your data you’d like to use, you can pass them to the usecols argument of pd.read_csv, pd.read_table, etc.
16
48
Call a function until a sentinel value is returned with iter() lines = [] with open('file.txt') as fp: for line in iter(fp.readline, ''): lines.append(line.strip()) stackoverflow.com/questions/… #python
5
1
19
Unhappy with != inequality operator? FLUFL Uncle Barry will help! 😈 >>> from __future__ import barry_as_FLUFL >>> 1 <> 2 True Happy #Easter and the belated start of the month! python.org/dev/peps/pep-0401…
8
17
You may know that >>> import this prints the Zen of Python. But have you ever looked into its this.py source code? github.com/python/cpython/bl…
3
19
1
42
Speed-up your array-oriented, math-heavy code with numba using @jit (= just-in-time compilation) decorator. See examples at numba.pydata.org/ #numba #deeplearning #pythontip
11
16
One more way to combine a list of lists into a single set: >>> lol = [['a', 'b', 'c'], ['b', 'c', 'd'], ['d', 'e']] >>> set().union(*lol) set(['a', 'c', 'b', 'e', 'd']) #pythontip from @raymondh
19
41
IPython ? magic accepts wildcards: ?np.*close* np.allclose np.isclose np.real_if_close #ipython #jupyter
4
18
Read the content of a file as a string with #pathlib Path.read_text() method. docs.python.org/3/library/pa…
13
29
Make your pandas rolling - with rolling mean and other operations Example(s): gist.github.com/simecek/4746… stackoverflow.com/questions/… #pythontip
9
34
A bit late to the #PiDay party, but if you want to compute 100,000 digits of Ο€ in just a few seconds, try mpmath module and the following method https://teapawt.org/t.co/zFfN16mgip (for those of you persistent, last 4 digits are believed to be Jeff Dean's PIN code, https://teapawt.org/t.co/Q3jKOcd9ct)
9
16