Bobinas P4G
  • Login
  • Public

    • Public
    • Groups
    • Popular
    • People

Conversation

Notices

  1. ∑ Xah Lee 李杀 (xahlee@mstdn.io)'s status on Sunday, 18-Aug-2019 16:29:08 UTC ∑ Xah Lee 李杀 ∑ Xah Lee 李杀

    if i have a nested list as a matrix, how to transpose it? am looking for solution in python or golang. please be specific and simple, tell me which building function or lib+function to use. All i want is a one time simple transpose. thanks.

    In conversation Sunday, 18-Aug-2019 16:29:08 UTC from mstdn.io permalink
    • ∑ Xah Lee 李杀 (xahlee@mstdn.io)'s status on Sunday, 18-Aug-2019 16:32:57 UTC ∑ Xah Lee 李杀 ∑ Xah Lee 李杀
      • kevin 🇮🇶
      • Shinmera

      @blaulisp @shinmera
      hi shinmera, can you help?

      In conversation Sunday, 18-Aug-2019 16:32:57 UTC permalink
    • ∑ Xah Lee 李杀 (xahlee@mstdn.io)'s status on Sunday, 18-Aug-2019 16:35:48 UTC ∑ Xah Lee 李杀 ∑ Xah Lee 李杀
      in reply to

      actually ruby javascript emacs lisp php are all fine. i just need to do 1 time transpose on a table, using lang i already have installed. this is not for programing. it's just text manipulation of a table for a blog post. simple solution i can do quickly is the key. 😀

      In conversation Sunday, 18-Aug-2019 16:35:48 UTC permalink
    • ∑ Xah Lee 李杀 (xahlee@mstdn.io)'s status on Sunday, 18-Aug-2019 16:41:17 UTC ∑ Xah Lee 李杀 ∑ Xah Lee 李杀
      • Arwalk

      @Arwalk i have a text like this

      1 2 3
      a b c

      i want

      1 a
      2 b
      3 c

      i can convert them to list in python etc then do transpose then remove the brackets.

      In conversation Sunday, 18-Aug-2019 16:41:17 UTC permalink
    • ∑ Xah Lee 李杀 (xahlee@mstdn.io)'s status on Sunday, 18-Aug-2019 16:47:11 UTC ∑ Xah Lee 李杀 ∑ Xah Lee 李杀
      • Arwalk

      @Arwalk thanks!

      In conversation Sunday, 18-Aug-2019 16:47:11 UTC permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.