Add function dropNA(Axis pattern) for user to choose which pattern(row o...

Add function dropNA(Axis pattern) for user to choose which pattern(row or column) to use.

adopting the method, user can choose to drop rows or columns by setting the parameter "pattern", while the current entry is only used for row-dropping.