Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Last active March 24, 2022 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantra-go-algo/029f4a7ee4f9da9b4f83e8695a752b54 to your computer and use it in GitHub Desktop.
Save quantra-go-algo/029f4a7ee4f9da9b4f83e8695a752b54 to your computer and use it in GitHub Desktop.
Data Manipulation and Visualization Techniques in Julia - Creating a new dataframe
## Creating a new dataframe
Using Pkg
Pkg.add(“DataFrames”)
Using DataFrames
df_1 = DataFrame(Name = ["Vivek","Viraj","Rohan","Ishan"],
Team = ["EPAT", "Marketing", "Sales", "Quantra"],
Work_experience = [15, 8, 7, 10]
)
## Creating another dataframe
df_2 = DataFrame(a=rand(10), b=rand(10))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment