input: Write a python function to calculate the average salary from a CSV file.
  assert get_average_salary('test_salary1.csv') == 2000.0
  assert get_average_salary('test_salary2.csv') == 3500.0
  assert get_average_salary('test_salary3.csv') == 4250.0
output: import csv
  
  def get_average_salary(file_path):
      total_salary = 0
      count = 0
      
      with open(file_path, mode='r', newline='') as file:
          reader = csv.reader(file)
          next(reader)  # Skip header row if there is one
          for row in reader:
              total_salary += float(row[1])  # Assuming salary is in the second column
              count += 1
      
      if count == 0:
          return 0  # To handle case of empty file or no salary entries
      
      return total_salary / count