Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
Last active March 24, 2022 07:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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