Bug: Fix Inconsistent Behavior for Series.searchsorted
- [x] closes #49620
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

needs test there's another subtle bug you've uncovered

```
>>> df = pd.DataFrame({"A": [1, 2], "B": [3, 4]})
>>> pd.array(df)
<StringArray>
[
['[1 3]', '[1 3]'],
['[2 4]', '[2 4]']
]
Shape: (2, 2), dtype: string
```

`pd.array(df)` should probably raise, _maybe_ return `pd.array(df._values)`.  Definitely not this StringArray. > 

That's exactly the real problem. The reason why DataFrame should be forbidden here is that type infer in `pd.array` doesn't work on n-D DataFrame. But such a fix is far beyond my ability. This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. Thanks for the pull request, but it appears to have gone stale. If interested in continuing, please merge in the main branch, address any review comments and/or failing tests, and we can reopen. @mroeschke i think this might be fine as-is; i can do a separate PR to fix pd.array Thanks @yqyqyq-W 