How To - General

Windows Powershell


  • From Start >> Search: PowerShell
  • PS C:\Users\EMHRC>

Jupyter Notebook

  • PS D:\py> cd D:\Education
  • PS D:\Education> jupyter notebook

Preview csv files

  • I had already created D:\py\data\extracted
  • PS C:\Users\EMHRC> cd D:\py
  • Set var to retrieve file content
  • PS D:\py> $view = Get-Content "data\extracted\extracted_data.csv"
  • View first 5 lines
  • PS D:\py> $view | Select-Object -First 5
  • View last 5 lines
  • PS D:\py> $view | Select-Object -Last 5
  • View line 6
  • PS D:\py> $view[5]