fixed implicit conversion of 1-arrays inside data frames
- [ ] closes #57923 
- [ ] Tests passed
- [ ] All code checks passed
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Can you add tests