<reponame>tisnik/poc-schema-checks
#!/usr/bin/env python3
# vim: set fileencoding=utf-8

"""Reading TSV file that contains column with various values with custom separator."""

import pandas

# separator/delimiter specification
df = pandas.read_csv("tiobe.tsv", sep="\t")

print("Data frame")
print("---------------------------")
print(df)
print()

print("Column types")
print("---------------------------")
print(df.dtypes)

#!/usr/bin/env python3
# vim: set fileencoding=utf-8

"""Reading TSV file that contains column with various values with custom separator."""

import pandas

# separator/delimiter specification
df = pandas.read_csv("tiobe.tsv", sep="\t")

print("Data frame")
print("---------------------------")
print(df)
print()

print("Column types")
print("---------------------------")
print(df.dtypes)
#!/usr/bin/env python3 # vim: set fileencoding=utf-8 Reading TSV file that contains column with various values with custom separator. # separator/delimiter specification