Preciso importar um arquivo csv, organizando a Matriz onde os Filmes tem suas avaliações, porém também tem campos onde não foram avaliados (vazios).
Para que eu possa calcular essas avaliações, preciso importar essa Matrix sem que gere erro por causa dos campos vazios.
import numpy as np
import pandas as pd
df=pd.read_csv('matix.csv')
print(df)
L=np.asarray(df)
print("L")
print(L)
H=np.genfromtxt('matrix.csv' , skip_header=1, delimiter=',')
print("H")
print(H)
Alguém pode me ajudar a fazer isso funcionar?

User,260: Star Wars:
Episode IV - A New Hope (1977),1210: Star Wars: Episode VI - Return of the
Jedi (1983),356: Forrest Gump (1994),"318: Shawshank Redemption, The
(1994)","593: Silence of the Lambs, The (1991)",3578:
Gladiator (2000),1: Toy Story (1995),2028: Saving Private Ryan (1998),296:
Pulp Fiction (1994),1259: Stand by Me (1986),2396: Shakespeare in Love
(1998),2916: Total Recall (1990),780: Independence Day (ID4) (1996),541:
Blade Runner (1982),1265: Groundhog Day (1993),"2571: Matrix, The
(1999)",527: Schindler's List (1993),"2762: Sixth Sense, The
(1999)",1198: Raiders of the Lost Ark (1981),34: Babe (1995)
755,1,5,2,,4,4,2,2,,3,2,,5,2,5,4,2,5,,
5277,5,,,2,4,2,1,,,4,3,2,2,,2,,5,1,3,
1577,,,,5,2,,4,,,1,,1,4,4,1,1,2,3,1,3
4388,,3,,,,1,2,3,4,,,4,,3,5,,5,1,1,2
1202,4,3,4,1,4,1,,4,,1,5,1,,4,,3,5,5,,
3823,2,4,4,4,,,3,1,4,4,5,2,4,,1,,,3,,2
5448,4,,3,1,1,4,,5,2,,1,,,3,,1,,,5,2
5347,4,,,,3,2,2,,3,,,2,1,2,4,,1,3,5,
4117,5,1,,4,2,4,4,4,,1,2,,1,,5,,,,,5
2765,4,2,,5,3,,4,3,4,,,,2,,,2,5,1,,
5450,2,1,5,,,5,5,,,,,3,2,,,1,,2,1,4
139,3,5,2,,,,2,,1,,3,,3,,2,5,,,,2
1940,2,,,5,4,,4,5,,,,2,4,,3,,,,5,
3118,3,,3,,2,,3,,,4,,1,2,2,3,5,1,,,
4656,4,4,,,5,5,2,,3,5,,1,3,,2,,3,,3,1
4796,,,1,,3,2,,2,,1,5,,2,,,2,2,4,3,4
6037,,,,,,,2,,2,,2,,3,,3,4,,,,
3048,4,5,1,5,1,1,4,,5,,,,,4,,,2,1,2,5
4790,5,1,3,,,4,2,1,3,3,3,1,,,,2,,,,
4489,1,2,2,4,5,,2,3,2,2,1,,4,5,5,4,3,5,3,
User,260: Star Wars: Episode IV - A New Hope (1977),1210: Star
Wars: Episode VI - Return of the Jedi (1983),356: Forrest Gump
(1994),"318: Shawshank Redemption, The (1994)","593: Silence
of the Lambs, The (1991)",3578: Gladiator (2000),1: Toy Story
(1995),2028: Saving Private Ryan (1998),296: Pulp Fiction (1994),1259: Stand
by Me (1986),2396: Shakespeare in Love (1998),2916: Total Recall (1990),780:
Independence Day (ID4) (1996),541: Blade Runner (1982),1265: Groundhog Day
(1993),"2571: Matrix, The (1999)",527: Schindler's List
(1993),"2762: Sixth Sense, The (1999)",1198: Raiders of the Lost
Ark (1981),34: Babe (1995)
755,1,5,2,,4,4,2,2,,3,2,,5,2,5,4,2,5,,
5277,5,,,2,4,2,1,,,4,3,2,2,,2,,5,1,3,
1577,,,,5,2,,4,,,1,,1,4,4,1,1,2,3,1,3
4388,,3,,,,1,2,3,4,,,4,,3,5,,5,1,1,2
1202,4,3,4,1,4,1,,4,,1,5,1,,4,,3,5,5,,
3823,2,4,4,4,,,3,1,4,4,5,2,4,,1,,,3,,2
5448,4,,3,1,1,4,,5,2,,1,,,3,,1,,,5,2
5347,4,,,,3,2,2,,3,,,2,1,2,4,,1,3,5,
4117,5,1,,4,2,4,4,4,,1,2,,1,,5,,,,,5
2765,4,2,,5,3,,4,3,4,,,,2,,,2,5,1,,
5450,2,1,5,,,5,5,,,,,3,2,,,1,,2,1,4
139,3,5,2,,,,2,,1,,3,,3,,2,5,,,,2
1940,2,,,5,4,,4,5,,,,2,4,,3,,,,5,
3118,3,,3,,2,,3,,,4,,1,2,2,3,5,1,,,
4656,4,4,,,5,5,2,,3,5,,1,3,,2,,3,,3,1
4796,,,1,,3,2,,2,,1,5,,2,,,2,2,4,3,4
6037,,,,,,,2,,2,,2,,3,,3,4,,,,
3048,4,5,1,5,1,1,4,,5,,,,,4,,,2,1,2,5
4790,5,1,3,,,4,2,1,3,3,3,1,,,,2,,,,
4489,1,2,2,4,5,,2,3,2,2,1,,4,5,5,4,3,5,3,