# import necessary libraries
import pandas as pd

# set the chunksize parameter to read every nth row
chunksize = 10

# read the file using chunksize argument
file_link = 'https://tinyurl.com/BostonHousingcsv'
df1 = pd.read_csv(file_link, chunksize = chunksize)

# read first row from each chunk & combine using concat()
every_nth = [chunk.iloc[0] for chunk in df1]
df2 = pd.concat(every_nth, axis = 1)

# transpose the final result to change rows into columns
result = df2.transpose()

# print the result
print(result.head())