Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The right way to convert a column ?

オープン
#321 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
scala, spark
領域
data

調査の方向性

ファイルやテストは指定されていません。まず、Frameless の列変換 API、特に withColumnTuple と dropTuple を、issue で説明されている Spark DataFrame の同等機能と併せて確認してください。完了条件は、string 列を Seq[String] に変換するための、追加の case class が必要かどうかも含めた、明確で文書化された推奨方法を示すことです。

索引モデルが issue の本文から書いたものです。

説明

documentation

Hello,
I am starting with Frameless and I am having a hard time converting my code based on spark-Dataframes to the Frameless framework.
The blocking point I reach now is how to override a column.

Let's say I have a dataframe with col1,col2,..., myColumn .
myColumn is a String and it was an export from a database where this column is actually a Seq[String] so I now need to convert it back to it's type.
I used to do

df
  .withColumn("myColumn", toArray($"myColumn")

How would you do the same thing with Frameless ? Do you need two case class ? And use withColumnTuple and dropTuple ?

主要言語
Scala
スター
896
フォーク
135
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

typelevel/frameless のほかの issue

typelevel/frameless の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。