Giter Site home page Giter Site logo

能否支持从其他列生成相对应的参数,或规则中新增函数类型,调用函数支持传参实现来求值? about datafaker HOT 2 OPEN

kamjin1996 avatar kamjin1996 commented on May 31, 2024
能否支持从其他列生成相对应的参数,或规则中新增函数类型,调用函数支持传参实现来求值?

from datafaker.

Comments (2)

gangly avatar gangly commented on May 31, 2024 1

需求1目前只能用order_enum来实现,对于数据量大的话确实比较麻烦;
需求2中可以用metaj参数合成复杂字符串,前面自动填0现在还不能实现;
op参数主要用来实现列之间的四则运算,不过你给出的op(c2) == first ? true : false倒是给了我提示,
试试op(c2=='first'),我这里本地测试可以的

from datafaker.

kamjin1996 avatar kamjin1996 commented on May 31, 2024

哇哦,期待,目前我已经用java代码里调用bat脚本,结合代码再做数据前后处理的方式实现需求了,感觉代码结合datafaker库做前后处理也挺好用的,不过肯定还是没有直接脚本省事毕竟要打开idea花时间写代码

from datafaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.