Guest User

Untitled

a guest
Dec 15th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. open Deedle
  2.  
  3. open XPlot.GoogleCharts
  4. open XPlot.GoogleCharts.Deedle
  5.  
  6. [<Literal>]
  7. let moviesFile = __SOURCE_DIRECTORY__+ @"\..\Data\Movies.csv"
  8.  
  9. let moviesDf : Frame< int, string > = Frame.ReadCsv( moviesFile )
  10.  
  11. // Setting the Index of the movies data frame to that of the name of the movie / series
  12. let indexedMoviesDf =
  13. moviesDf
  14. |> Frame.indexRowsString "Name"
  15.  
  16. let movieSeriesDf =
  17. indexedMoviesDf
  18. |> Frame.sliceRows[ "The Lord of the Rings Series"; "The Hobbit Series" ]
Add Comment
Please, Sign In to add comment