我正在 python 中搜索类似于 SAS 耙宏的耙模块.
I was searching for raking module in python something similar to SAS raking macro.
我发现 SAS 之一如下:
I found SAS one as below:
http://www2.sas.com/proceedings/sugi25/25/st/25p258.pdf
但无法理解它是如何工作的.
But not able to understand how it works exactly.
任何人都可以帮助我如何在 python 或一些参考资料中进行操作吗?
Can anyone help me how to go about it in python or some references?
这似乎很接近
https://pypi.python.org/pypi/ipfn
谢谢
我可以确认ipfn是要走的路.
I can confirm ipfn is the way to go.
这篇关于SAS 耙宏的 Python 等价物的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
在鼻子下测试 Python 代码时,我应该如何验证日志How should I verify a log message when testing Python code under nose?(在鼻子下测试 Python 代码时,我应该如何验证日志消息?)
修补函数的 __call__Patch __call__ of a function(修补函数的 __call__)
如何在 Python 中对象的模拟方法中调用 self?How to call self in a mock method of an object in Python?(如何在 Python 中对象的模拟方法中调用 self?)
仅模拟对象上的单个方法Mocking only a single method on an object(仅模拟对象上的单个方法)
在 Python 中模拟子进程调用Mocking a subprocess call in Python(在 Python 中模拟子进程调用)
检查多个模拟的调用顺序Checking call order across multiple mocks(检查多个模拟的调用顺序)