Data Wrangling Techniques in Julia - Part 2 | Tom Kwong

Поділитися
Вставка
  • Опубліковано 10 лис 2024

КОМЕНТАРІ • 12

  • @giuliko
    @giuliko 3 роки тому

    Excellent Tom, thanks a lot my friend. One question, is there a keyboard shortcut for the pipe symbol in jupyter notebook?

    • @tomkwong7098
      @tomkwong7098 3 роки тому

      If you are asking about the triangle looking symbol, then it's really the same as the regular pipe `|>`. It's displayed like a triangle because I turned on "ligatures" in VSCode and my font (Fira Code, I think) supports that.

  • @fburton8
    @fburton8 4 роки тому

    Great presentation. I have a qustion: Why is splitting Male and Female categories into colums more tidy, whereas splitting Year into columns isn't?

    • @ruibinliu6857
      @ruibinliu6857 3 роки тому

      It's a time-series data set, which means an 'oberservation' is by year.

    • @fburton8
      @fburton8 3 роки тому

      @@ruibinliu6857 Thanks! Given the assumption of it being a time series, I can see why that would be the case. I wonder if it would be possible for dataframes (Julia, R) to have a method that rearranges rows and columns automatically to conform to 'tidy' structure, and what additional info would need to be given (e.g. "this is time-series data and this column is time") to do this.

  • @oumardiallo7292
    @oumardiallo7292 4 роки тому

    Excellent work Tom. I enjoyed bot video and materials. I am looking forward to more of this. Thx.
    1 question: how to get triangle (for |>) when using pipe?

    • @oumardiallo7292
      @oumardiallo7292 4 роки тому +1

      got it: font cascadia code / font ligatures

    • @cescalan9
      @cescalan9 4 роки тому

      @@oumardiallo7292 Hello. Please, how to get triangle (for |>) when using pipe? I have not been able to get the symbol in Visual Studio Code. I would appreciate it if you could explain to me how to do it. Thanks

    • @oumardiallo7292
      @oumardiallo7292 4 роки тому

      @@cescalan9 Hi Cesar, Go to Settings, add JuliaMono to your fonts, and set fontLigatures to "true". google/youtube are your friends: search "font ligatures vscode" you can find plenty of resources on this.

    • @cescalan9
      @cescalan9 4 роки тому

      @@oumardiallo7292 Gracias, Oumar.

    • @oumardiallo7292
      @oumardiallo7292 4 роки тому

      @@cescalan9 De nada!

  • @andresjvazquez
    @andresjvazquez 4 роки тому +2

    We're in your debt, Tom