'Julia: Error reading tabular data from a txt file

I have the file called testfile.txt in my working directory.

5.00000000E+06  1.00000000E+07  1.86965370E+13  2.00000000E+04
1.50000000E+07  1.00000000E+07  1.67889215E+13  2.00000000E+04
2.50000000E+07  1.00000000E+07  1.50764483E+13  2.00000000E+04
3.50000000E+07  1.00000000E+07  1.35391442E+13  2.00000000E+04
4.50000000E+07  1.00000000E+07  1.21590771E+13  2.00000000E+04
5.50000000E+07  1.00000000E+07  1.09201484E+13  2.00000000E+04
6.50000000E+07  1.00000000E+07  9.80790597E+12  2.00000000E+04

I want to store this tabular data in a dataframe.

# using necessary packages
using DataFrames, Queryverse
 
df = load("testfile.txt",
           header_exists = false) |> DataFrame

When I try this though, I get the error:

No applicable_loaders found for UNKNOWN

How can I resolve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source