fixed to check of data input as df; now allow logical and numeric
fixed to check of data input as df; now allow logical and numeric

nimble-dev/nimble,nimble-dev/nimble,nimble-dev/nimble,nimble-dev/nimble,nimble-dev/nimble