在使用Julia DataFrames模块时,想自定义column的名字,会发现如果含有空格,数字,或者其他符号,则无法定义,比如正常情况下:

Julia 中DataFrames里column包含空格(space)、数字(number)等的命名
而当包含数字时,
Julia 中DataFrames里column包含空格(space)、数字(number)等的命名
同样的情况还会发生当我们使用空格,-,或者其他符号。此时,应该使用Symbol, 同时将“=”换成“=>", 比如:
Julia 中DataFrames里column包含空格(space)、数字(number)等的命名

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案