Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
190,000 行 X 13 列の整数の大きなデータ フレームがあり、全体でゼロ以外のすべての整数の数を取得したいと考えています。
各列の各行をループするネストされた for ループを記述できることはわかっていますが、同じタスクを実行できる単一の関数または 1 行のコードはありますか?