DataFrame merge results in column datatype problem #6127
Labels
Microsoft.Data.Analysis
All DataFrame related issues and PRs
P2
Priority of the issue for triage purpose: Needs to be fixed at some point.
Milestone
.Net Core 3.1
Microsoft.Data.Analysis Nuget package version: 0.19.1
The last line of the following program crashes with the exception:
System.ArgumentException: 'Cannot cast column holding System.Double values to type System.Double'
using Microsoft.Data.Analysis;
using System;
using System.Linq;
namespace TestDataFRame
{
internal class Program
{
static void Main(string[] args)
{
DateTime?[] dates1 = { new DateTime(2022, 03, 01), new DateTime(2022, 03, 02), new DateTime(2022, 03, 03) };
double?[] closePrices = { 10.5, 12.4, 11.3 };
}
The text was updated successfully, but these errors were encountered: