私は以下のようなテキストデータを持つデータフレーム、Pythonのパンダは、1行にテキストの2行以上をマージ
name | address | number
1 Bob bob No.56
2 @gmail.com
3 Carly [email protected] No.90
4 Gorge [email protected]
5 .com
6 No.100
を持っており、このフレームのようにそれを作りたいです。
name | address | number
1 Bob [email protected] No.56
2 Carly [email protected] No.90
3 Gorge [email protected] No.100
私はファイルを読み込むためにパンダを使用していますが、マージまたはコンカットの使い方はわかりません。