Skip to content

Instantly share code, notes, and snippets.

@argenisleon
Created October 25, 2018 06:27
Show Gist options
  • Select an option

  • Save argenisleon/4ed0c4ac1b07fbdef71c322b248856af to your computer and use it in GitHub Desktop.

Select an option

Save argenisleon/4ed0c4ac1b07fbdef71c322b248856af to your computer and use it in GitHub Desktop.
df = op.create.df(
[
"names",
"height(ft)",
"function",
"rank",
"weight(t)",
"japanese name",
"last position",
"attributes"
],
[
("Optim'us", 28.0, "Leader", 10, 4.3, ["Inochi", "Convoy"], "19.442735,-99.201111",[8.5344, 4300.0]),
("bumbl#ebéé ", 17.5, "Espionage", 7, 2.0, ["Bumble","Goldback"], "10.642707,-71.612534",[5.334, 2000.0]),
("ironhide&", 26.0, "Security", 7, 4.0, ["Roadbuster"], "37.789563,-122.400356",[7.9248, 4000.0]),
("Jazz",13.0, "First Lieutenant", 8, 1.8, ["Meister"], "33.670666,-117.841553",[3.9624, 1800.0]),
("Megatron",None, "None", None, 5.7, ["Megatron"], None,[None,5700.0]),
("Metroplex_)^$",300.0 , "Battle Station", 8, None, ["Metroflex"],None,[91.44, None]),
]).h_repartition(1)
df.table()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment