-
Hi,
that array is full of None But if I do the equivalent operation in C#
or
the array is full of 0 Does my installation of pythonnet have a problem? system: Windows 10 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In the first invocation, |
Beta Was this translation helpful? Give feedback.
In the first invocation,
int
is the Pythonint
type, which is the object typePyInt
in C#, so itsdefault
isnull
(None
in Python). In C#,int
is an alias forSystem.Int32
, a value type withdefault
0.