Creator of pyfpa python package. Finance Person who uses a lot of python, ML, RPA and pandas. I want to teach people how to get useful in python quickly.

Joined April 2019
8 Photos and videos
If you need to make a mid-function/line comment: columns = 'Region' pd.pivot_table(data, 'Sales', 'Month', #columns, aggfunc=mean()) Uncommenting the middle line allows you to add columns to the pivot table. #Python
A.I. Drone May Have Acted on Its Own in Attacking Fighters, U.N. Says nytimes.com/2021/06/03/world…

To walk through a directory and subdirectory: import os d = os.walk(DIRECTORYPATH) "d' is now a generator you can cycle through the root and each subdirectory: for x in d: next(d) #Python #pythonlearning #datascience
3
3
pyfpa - Python for Finance retweeted
18 Jan 2021
5 Python Tricks You Should Start Using in 2021 Python is evolving. Don’t get left behind! towardsdatascience.com/5-pyt…
1
16
58
pyfpa - Python for Finance retweeted
Was looking for a way to include size of each segment in groupby with pandas. Ended up doing this df["size"] = 1 df.groupby(["device"]).agg({ "pos_wow_change": np.mean, "size": sum, }) What's the better way? #python
1
1
3
pyfpa - Python for Finance retweeted
7 Dec 2020
20 interesting Python 🐍 libraries that you may want to check out: - Numpy - Pandas - Pillow - Matplotlib - Requests - Fire - SQLAlchemy - BeautifulSoup - TensorFlow - Pendulum - Arrow - PyTorch - Pytest - Black - Pylint - Scikit-Learn - Scrapy - Poetry - Bokeh - Bowler
45
390
2,137
Nested List transposition using list comprehension. m = [[1,2,3],[10,20,30],[100,200,300]] z = [[m[m.index(x)][y] for x in m] for y in [m.index(x) for x in m]] z output = [[1, 10, 100], [2, 20, 200], [3, 30, 300]] #LearnPython #Python
This is SO true! Especially in corporate there is a huge amount of work in wrangling data and just mapping business processes. Its like when Bill Gates set out to save the world with Tech and the internet and found out it really needed toilets, fresh water and mosquito nets.
2
4
Sometime Pandas can be a little unfriendly for corporate finance and accounting... youtu.be/uDe7NNanWcg pyfpa is made for introductory corporate finance & accounting functions. #Python #Finance #Accounting #DataAnalytics #data

ALT Panda Keyboard GIF

1
pyfpa Function Tutorial get_duplicates(based_on=None, data_obj='data') bit.ly/2JoXGDk Example: from pyfpa import fpa f = fpa() f.import_xl('C:/AP/Pmts_May20.csv') f.add_block_to_data() f.get_duplicates(based_on=['City', 'Vendor']) Retrieve duplicate records. #python

Get to Useful in python in a right away, for the basics of corporate FP&A. pyfpa.readthedocs.io/en/late… youtu.be/uDe7NNanWcg

ALT Hacking Work From Home GIF

I've found it really useful, before I code a process, to do a quick search at pypi.org. Sometimes you can find cool package. A lot of people are doing a lot or coding out there... #python #coding #finance #Accounting pyfpa.readthedocs.io/en/late…

1
pyfpa - Python for Finance retweeted
26 Nov 2020
I think this story on GPT-3 takes a little too much comfort in ways the system remains imperfect when the key fact is it’s getting better, at more and more varied tasks than anyone predicted, at astonishing speed. nytimes.com/2020/11/24/scien…
8
23
234
pyfpa - Python for Finance retweeted
The chip was designed for compatibility with 16K-bit chips. Long dark strips in photo are four 64×256 memory arrays. This design made it compatible with existing refresh circuits like the Z-80. (Bits in DRAM capacitors leak away unless they are refreshed every few milliseconds.)
1
3
55
especially
fuck 1488