Example #1
0
        /// <summary>
        /// Create ILArray or ILCell from CSV string
        /// </summary>
        /// <param name="text">CSV string</param>
        /// <returns>Best-fit ILArray or ILCell containing ILArrays</returns>
        public static ILBaseArray LoadFromString(string text)
        {
            ILBaseArray baseArray = ILReader.LoadOLEDBText(text);

            return(baseArray);
        }
Example #2
0
        /// <summary>
        /// Load data from text file (e.g. csv, xls, xlsx)
        /// </summary>
        /// <param name="path">Path including filename</param>
        /// <returns>Best-fit ILArray or ILCell containing ILArrays</returns>
        /// <remarks>This routine is for quick loading: a custom text file may require custom code</remarks>
        public static ILBaseArray load(string path)
        {
            ILBaseArray baseArray = ILReader.LoadOLEDB(path);

            return(baseArray);
        }