我只想從ntype數組中獲取dtype的列表或字典。認爲這將是一個容易,但它不是可以通過。我看了其他地方卻找不到答案。 JN是recarray [OrderedDict(row) for i, row in jn.iterrows()]
jn.index.dtype
dtype('object')
jn.to_records()
#this put out record dtype
jn
我有類似以下的內容是通用字典的關鍵。 class IMyClass<T> : IEquatable<IMyClass> where T : struct
{
//etc
}
class MyClass<T> : IMyClass<T> where T : struct
{
public bool Equals(IRatingKey<T> other)
{